我无法在RStudio中将文档编织为PDF

时间:2019-05-12 13:23:46

标签: r rstudio knitr

我必须使用RStudio编织PDF格式的报告,但是当我尝试使用Rmarkdown中的块中所需的软件包编织文档时,会显示此错误:

tlmgr search --file --global '/multirow.sty'

tlmgr: Remote repository is newer than local (2018 < 2019)
Cross release updates are only supported with
  update-tlmgr-latest(.sh/.exe) --update
Please see https://tug.org/texlive/upgrade.html for details.
! LaTeX Error: File `multirow.sty' not found.

! Emergency stop.
<read *> 

Errore: Failed to compile questionario_sulla_responsabilita_222222.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See questionario_sulla_responsabilita_222222.log for more info.
Inoltre: Warning message:
In system2("tlmgr", args, ...) :
  running command ''tlmgr' search --file --global '/multirow.sty'' had status 1
Execution interrupted

我该如何解决?我正在使用MacBook Pro

我试图更新所有可能的东西,并且尝试从一开始就安装所有东西,但是它突然向我显示相同的错误消息

1 个答案:

答案 0 :(得分:0)

要将问题的评论总结起来,并遵循Yihui Xie's page处的解决方案-另请参见here进行讨论。

简而言之...

gsmanagerRef.ShowResume(); //or any other function

...应该可以解决问题。

说明:似乎{tinytex} / Texlive使用的滚动软件包存储库每年会移至新版本,而本地分册则没有。重新安装确实会将本地安装向前移动。

一种替代解决方案:似乎存在一种替代解决方案,涉及使TexLive软件包回购展开(即使用固定版本),这可能会帮助:link

相关问题