我最近在 Windows 上安装了 pandoc 2.4,但转换失败,所有编织均出现错误 1。我不会编写 html、word 和 pdf。
错误说
output file: template.knitmd
pandoc.exe: template.utf8.md: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
Execusion halted
即使是原始的基本模板 rmd 文件也会发生这种情况。
我使用的是封闭网络,没有互联网连接和有限的写入权限。以前,我能够编织位于文档文件夹中的 rmd 文件,在同一位置生成输出。
sessionInfo() 说
R version 3.5.1 (2018-07-02)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: windows >=8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_collate=english_united states.1252 lc_ctype=english_united states.1252 lc_monetary=english_united states.1252
[4] LC_Numeric=C LC_TIME=english_united states.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] flextable_0.4.5 officer_0.3.2 knitr_1.20 rmarkdown_1.10
loaded via a namespace (and not attached):
[1] Rcpp_1.0.0 digest_0.6.18 rprojroot_1.3-2 R6_2.3.0 backports_1.1.2 magrittr_1.5 evaluate_0.12
[8]zip_1.0.0 stringi_1.2.4 gdtools_0.1.7 uuid_0.1-2 xml2_1.2.0 tools_3.5.1 stringr_1.3.1
[15] yaml_2.2.0 compiler_3.5.1 base64enc_0.1-3 htmltools_0.3.6
任何建议将不胜感激。 (甚至如何在不删除 2.4 版本的情况下将设置更改回旧的 pandoc 版本。)
我也遇到过这个问题。按照说明映射存储 R 项目的网络驱动器here https://www.dummies.com/computers/pcs/mapping-a-network-drive-on-your-windows-10-pc/为我解决了这个问题。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)