【发布时间】:2018-06-27 23:08:21
【问题描述】:
我正在使用rmarkdown 生成单词输出,需要pandoc 这样做。不幸的是,我的工作计算机上没有管理员访问权限,因此我无法运行安装程序或使用install.pandoc() 选项。
我尝试从the github site 下载 .zip 和 .tar.gz 文件,并尝试使用 RStudio 中的“安装”选项卡手动安装它们,但出现错误:
Warning in install.packages :
cannot open compressed file 'pandoc-2.2.1-windows-x86/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection
Here 声明“如果您不想使用 msi 安装程序,我们还提供了一个包含 pandoc 二进制文件和文档的 zip 文件。只需解压缩此文件并将二进制文件移动到您选择的目录中。”
也许我不知道“将二进制文件移动到您选择的目录”是什么意思。 - 当我解压缩文件时,我仍然无法访问包。
旁注 - 我已定义 .libpaths() 以允许我安装其他软件包,但我无法让 pandoc 工作。
关于如何做到这一点的任何建议?
【问题讨论】:
标签: rstudio r-markdown pandoc