当我的RMD文件在共享驱动器上时,我无法呈现标记文件。我使用的是rmarkdown版本1.12,R版本3.5.3,64位Windows 10,pandoc 2.7.1。
我不能渲染为html,pdf或word文档。
此操作失败(我的文件夹路径中没有空格或标点符号):
rmarkdown::render("//cor.local/subfolders/Martin/aNewRMD.RMD")
但这是成功的:
rmarkdown::render("C:/Users/Martin/Documents/aNewRMD.RMD")
(我只是使用RStudio打开的默认新.RMD文件)。
错误消息:
processing file: aNewRMD.RMD
|......... | 14%
ordinary text without R code
|................... | 29%
label: setup (with options)
List of 1
$ include: logi FALSE
|............................ | 43%
ordinary text without R code
|..................................... | 57%
label: cars
|.............................................. | 71%
ordinary text without R code
|........................................................ | 86%
label: pressure (with options)
List of 1
$ echo: logi FALSE
|.................................................................| 100%
ordinary text without R code
output file: aNewRMD.knit.md
"C:/Pandoc/pandoc" +RTS -K512m -RTS aNewRMD.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash+smart --output aNewRMD.html --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\Martin\Documents\R\win-library\3.5\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\Martin\AppData\Local\Temp\RtmpGoqMWG\rmarkdown-str421411883120.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
pandoc.exe: aNewRMD.utf8.md: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
https://stackoverflow.com/questions/55248740
复制相似问题