将 pandoc 从 1.19 更新到 2.4 后,R markdown pandoc 文档转换失败,出现错误 1
R markdown pandoc document conversion failed with error 1 after updating pandoc from 1.19 to 2.4
我最近在 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 版本。)
我也遇到过这个问题。按照说明 here 映射存储我的 R 项目的网络驱动器为我解决了这个问题。
我最近在 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 版本。)
我也遇到过这个问题。按照说明 here 映射存储我的 R 项目的网络驱动器为我解决了这个问题。