【问题标题】:Error when Trying to use Rticles to generate example R markdown: pdflatex not found Ubuntu 20.04尝试使用 Rticles 生成示例 R 降价时出错:找不到 pdflatex Ubuntu 20.04
【发布时间】:2020-11-04 13:30:51
【问题描述】:

我试图在 pdf 中生成示例 rticles 输出之一,并得到相同的错误 pdflatex not found。这是在 Ubuntu 20.04 焦点窝上。

【问题讨论】:

    标签: r ubuntu pdflatex tinytex


    【解决方案1】:

    我首先关注了易虎的故障排除site,但在hereherehere发现同样的错误。在 Ubuntu 20.04 上的 R 中,我首先使用 devtools::install_github('yihui/tinytex') 安装了 tinytex。然后我尝试执行library(tinytex)tinytex::tlmgr_update(),它返回了错误Error in system2("tlmgr", args, ...) : error in running command。我认为这是因为我在 Ubuntu 20.04 上遗漏了一些东西。似乎截至 2020 年 7 月 14 日,Ubuntu 20.04 或 rticles 不附带输出所需的 Texlive。因此,我在命令行运行 sudo apt install texlive-full 并能够运行该示例。

    【讨论】:

      猜你喜欢
      • 2021-03-22
      • 1970-01-01
      • 2016-08-31
      • 2022-01-26
      • 1970-01-01
      • 2011-10-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多