在1.0.136 R Studio更新后,Rmarkdown不再工作

时间:2017-02-26 20:40:30

标签: r rstudio r-markdown

我最近将我的R Studio更新为版本1.0.136,现在尝试编织文档时出现以下错误:

enter image description here

我已经运行getOptions("repos")并且似​​乎已设置为相应的CRAN镜像:

                       CRAN 
"https://cran.rstudio.com/" 
attr(,"RStudio")
[1] TRUE

运行devtools::install_github("rstudio/rmarkdown")也无法解决问题,并且会产生相同的错误。

我可以提供任何想法或更多信息?

2 个答案:

答案 0 :(得分:1)

当我升级到1.0.136时,我遇到了类似的问题。具体而言,rprojroot1.0 is not available

在我的情况下,安装最新版本的R(3.3.3)解决了这个问题。 (您必须在新版本的“工具...全局选项...”菜单中指向RStudio。)

我一直在使用3.1.2版本,可能是knitr所需的最新包需要更新。这个讨论建议尽可能多:https://support.rstudio.com/hc/en-us/community/posts/115000740667-Rmarkdown-not-working-with-RStudio-Version-1-0-136

答案 1 :(得分:0)

我通过下载最新版本解决了该错误。新版本要求你自动下载依赖包。

相关问题