来自服务器文件的 RMarkdown

问题描述

我正在将代码从我的计算机传输到服务器,但对 Markdown 文件的引用存在问题。

首先,此代码有效:

> blastula::render_email('C:/Users/Me/Desktop/markdown_code.Rmd')

但是当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 (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...