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文档。看来我需要更新的stringr
,knitr
和rmarkdown
版本,但是当我尝试update.packages
时却说:“软件包是最新的”。我检查了存储库,它具有CRAN和CRANextra作为存储库,并且还尝试通过install.packages
安装软件包。有人知道如何解决此问题吗?