我已经设置了一个AWS,并且我正在尝试安装一个包。我运行以下命令,但得到一个错误。
> devtools::install_github("https://github.com/nwstephens/RStudioAMI.git")
Downloading GitHub repo nwstephens/RStudioAMI@master
✔ checking for file ‘/tmp/RtmpEH49ON/remotes33643b988bf8/nwstephens-RStudioAMI-8507ced/DESCRIPTION’
─ preparing ‘RStudioAMI’:
✔ checking DESCRIPTION meta-information ... OK
Warning in file(con, "r") :
cannot open file 'man': No such file or directory
ERROR
computing Rd index failed:cannot open the connection
Error in (function (command = NULL, args = character(), error_on_status = TRUE, :
System command error同时运行:
> install.packages("RStudioAMI")
Installing package into ‘/home/msmith/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘RStudioAMI’ is not available (for R version 3.4.4)我已经尝试更新我的R版本了。
> install.packages("installr")
Installing package into ‘/home/msmith/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘installr’ is not available (for R version 3.4.4)我不确定我该如何从这里开始…你知道我可以在终端中运行什么来安装这个包吗?
编辑:使用Ubuntu 18
发布于 2019-05-11 02:11:23
已解决(我认为)
我从GitHub下载了这个包:https://github.com/nwstephens/RStudioAMI
将此.zip上传到服务器,然后;
在R studio中,我创建了一个新项目,然后选择build -> Build Source Package,这似乎是可行的。
https://stackoverflow.com/questions/56082368
复制相似问题