首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >从共享驱动器呈现rmarkdown时出现问题

从共享驱动器呈现rmarkdown时出现问题
EN

Stack Overflow用户
提问于 2019-03-20 03:31:47
回答 2查看 2.9K关注 0票数 3

当我的RMD文件在共享驱动器上时,我无法呈现标记文件。我使用的是rmarkdown版本1.12,R版本3.5.3,64位Windows 10,pandoc 2.7.1。

我不能渲染为html,pdf或word文档。

此操作失败(我的文件夹路径中没有空格或标点符号):

代码语言:javascript
运行
复制
rmarkdown::render("//cor.local/subfolders/Martin/aNewRMD.RMD")

但这是成功的:

代码语言:javascript
运行
复制
rmarkdown::render("C:/Users/Martin/Documents/aNewRMD.RMD")

(我只是使用RStudio打开的默认新.RMD文件)。

错误消息:

代码语言:javascript
运行
复制
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
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55248740

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档