【发布时间】:2019-05-12 13:23:45
【问题描述】:
我必须使用 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
我尝试更新所有可以更新的内容,并尝试从一开始就安装所有内容,但它向我显示相同的错误消息
【问题讨论】:
-
从 R 运行
tinytex::reinstall_tinytex()有帮助吗? -
@YihuiXie:那是一个死链接(该问题已被删除)。好消息,也希望@mariam-el-fath:@duckmayr 的建议确实为我解决了这个完全相同的问题。不过,必须先更新
tinytex才能正常工作;tinytex本身已过时并因此无法更新/安装 tinytex 时提供的错误并不完全有帮助:-) -
@Matherion 在stackoverflow.com/q/56032457/559676 被删除之前(我在 Stack Overflow 上仍有足够的声誉可以看到问题),这是我的回复:“请在 @987654323 搜索错误消息
Remote repository newer than local@ 并按照单行指令进行操作。”