我正在使用运行R版本3.5.1的RStudio版本1.1.456。我在Windows 7 Enterprise(64位)上运行。
我是R Markdown的新手,因此,当我在RStudio中打开一个新的R Markdown文件时,我认为最好在自己尝试任何操作之前运行默认代码。(注意:这是打开新的Rmd文件时自动填充的代码)。
---
title: "test"
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
## R Markdown
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. …Run Code Online (Sandbox Code Playgroud) 问题 我们的最终用户无法生成 html 文件,出现此错误:错误:pandoc 文档转换失败,错误 61 执行暂停
TS Performed 我们为之前的错误消息设置了代理。之前的错误是:
pandoc.exe: Could not fetch \\HHBRUNA01.hq.corp.eurocontrol.int\alazarov$\R\win-library\3.5\rmarkdown\rmd\h\jquery\jquery.min.js
ResponseTimeout
Error: pandoc document conversion failed with error 67
Execution halted
Run Code Online (Sandbox Code Playgroud)
为此,我们将 "self_contained: no" 添加到 RProfile.Site> 我们还尝试了 "Self_Contained: yes" 。
当前错误信息
Could not fetch http://?/UNC/server.contoso.int/username$/R/win-library/3.5/rmarkdown/rmd/h/default.html
HttpExceptionRequest Request {
host = ""
port = 80
secure = False
requestHeaders = []
path = "/"
queryString = "?/UNC/server.contoso.int/username$/R/win-library/3.5/rmarkdown/rmd/h/default.html"
method = "GET"
proxy = Just (Proxy {proxyHost = "pac.contoso.int", proxyPort = 9512})
rawBody = False
redirectCount = 10 …Run Code Online (Sandbox Code Playgroud)