无法获取最新版本的Stringr,knitr,Rmarkdown

时间:2019-04-19 01:26:27

标签: r rstudio r-markdown knitr stringr

R.version

platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          3.2                         
year           2016                        
month          10                          
day            31                          
svn rev        71607                       
language       R                           
version.string R version 3.3.2 (2016-10-31)
nickname       Sincere Pumpkin Patch  

错误消息:

Rendering R Markdown documents
Required package versions could not be found:
stringr 1.2.0 is required but 1.1.0 is available
knitr 1.18 is required but 1.14 is available
rmarkdown 1.10 is required but 1.1 is available
Check that getOption("repos") refers to a CRAN repository
that contains the needed package versions.

操作系统:

Windows 10家庭高级版

问题和疑问:

我安装了RStudio免费版本的最新版本,似乎无法从.Rmd文件呈现HTML文档。看来我需要更新的stringrknitrrmarkdown版本,但是当我尝试update.packages时却说:“软件包是最新的”。我检查了存储库,它具有CRAN和CRANextra作为存储库,并且还尝试通过install.packages安装软件包。有人知道如何解决此问题吗?

0 个答案:

没有答案