问题描述
我正在将代码从我的计算机传输到服务器,但对 Markdown 文件的引用存在问题。
首先,此代码有效:
> blastula::render_email('C:/Users/Me/Desktop/markdown_code.Rmd')
> blastula::render_email('//server01/Data/markdown_code.Rmd')
pandoc.exe: markdown_code.knit.md: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion Failed with error 1
我发现它与服务器地址有关。当我尝试在 RStudio 中手动编织 Markdown 本身时,出现此错误:
Warning messages:
1: In normalizePath(path.expand(path),winslash,mustWork) :
path[1]="\\server01": The specified path is invalid
2: In normalizePath(path.expand(path),mustWork) :
path[1]="\\server01/..": The specified path is invalid
markdown 本身是一段非常简单的代码:
title: title
output: blastula::blastula_email
---
Text
```{r print,echo=FALSE}
df
``` #
是否有特殊的语法来引用服务器中的 Markdown 文件,或者有什么解决方案?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)