简体   繁体   English

新 Rmd 文档:knitr:库中的错误(“rstudio”):没有名为“rstudio”的包

[英]New Rmd document: knitr: Error in library("rstudio") : there is no package called 'rstudio'

firing up "RStudio" V1.0.136 on my Mac, just as usual, creating a new file, a Rmd, and trying--as I've done countless time before--knitr it just as is, but this time a strange error message occurs:像往常一样在我的 Mac 上启动“RStudio”V1.0.136,创建一个新文件,一个 Rmd,然后尝试——就像我之前做过无数次一样——按原样编织它,但这次是一个奇怪的错误出现消息:

Error in library("rstudio") : there is no package called 'rstudio'

Never ever have seen this before, and I haven't got the faintest clue as why this has popped into existence, and how to remedy it.以前从未见过这种情况,我也没有任何线索来说明为什么会出现这种情况以及如何补救。

有趣的是,在擦除我的整个 RStudio 和 R 安装后,随后重新安装,一切又正常了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM