Rmarkdown使用Tinytex报错! LaTeX Error: File ‘xxxx.sty’ not found
2025-3-21 16:45
阅读:1185
(/usr/local/texlive/2023basic/texmf-dist/tex/latex/base/ifthen.sty))
! LaTeX Error: File `algpseudocode.sty' not found.
在使用Rmarkdown导出PDF的时候,报错信息如上。要解决该问题可以用如下代码解决问题:
在R console中输入
tinytex::tlmgr_install('algpseudocode')在后续导出中可能遇到多次报这种错误,按照这种方法依次解决即可。
转载本文请联系原作者获取授权,同时请注明本文来自刘辉科学网博客。
链接地址:https://wap.sciencenet.cn/blog-3587875-1478672.html?mobile=1
收藏
上一篇
当前推荐数:0
推荐到博客首页
网友评论0 条评论