rmarkdown不可用(对于R版本3.1.1)

时间:2021-10-27 06:03:41

I am looking to create some reports using R using markdown via RStudio. Unfortunately, I am unable to open the scripting window as I am getting an error message when trying to download the 'rmarkdown' package.

我希望通过RStudio使用markdown创建一些报告。不幸的是,我无法打开脚本窗口,因为我在下载“rmarkdown”包时收到了错误消息。

Here is a list of what I have attempted to do to resolve the issue to date:

下面是我试图解决这个问题的一个清单:

  • Automatically install packages - all packages download properly except for one (rmarkdown) and I get the following errors:
  • 自动安装包-所有的包下载正确除了一个(rmarkdown)和我得到以下错误:

Installing package into 'C:/Users/rp5/Documents/R/win-library/3.1' (as 'lib' is unspecified) 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

将包安装到“C:/用户/rp5/文档/R/win-library/3.1”(如“lib”未指定)“C:\程序”不被识别为内部或外部命令、可操作程序或批处理文件。

  • If I try using install.packages("rmarkdown") or using the github manual downlaod:
  • 如果我尝试使用install.package(“rmarkdown”)或使用github手动downlaod:

rmarkdown is not available (for R version 3.1.1)

rmarkdown不可用(对于R版本3.1.1)

  • I have tried using various versions of R, updating my current packages, as well un-installing and reinstalling R and R Studio, deleting all previous packages.
  • 我尝试过使用各种版本的R,更新我的当前包,以及卸载和重新安装R和R Studio,删除所有以前的包。

Any ideas on what to try next?

你有什么想法吗?

1 个解决方案

#1


2  

rmarkdown package isn't available via CRAN now. You can install it with devtools::install_github("rstudio/rmarkdown") command. Also rmarkdown package included in latest versions of the RStudio IDE.

rmarkdown软件包现在无法通过CRAN提供。您可以使用devtools::install_github(“rstudio/rmarkdown”)命令来安装它。rmarkdown包也包含在最新版本的RStudio IDE中。

#1


2  

rmarkdown package isn't available via CRAN now. You can install it with devtools::install_github("rstudio/rmarkdown") command. Also rmarkdown package included in latest versions of the RStudio IDE.

rmarkdown软件包现在无法通过CRAN提供。您可以使用devtools::install_github(“rstudio/rmarkdown”)命令来安装它。rmarkdown包也包含在最新版本的RStudio IDE中。