[英]CRAN packages not unpacking on Ubuntu
Think I had done this type of command successfully before 认为我之前已经成功完成了这种命令
sudo su c "R e \"install.packages('countrycode', repos='http://cran.rstudio.com/')\""
the screen reports 屏幕报告
Installing package into '/usr/local/lib/R/site-library'
which is where other packages reside 其他软件包所在的位置
I then get 然后我得到
downloaded 28kb
and it just says that the source packages are in a tmp folder before returning to the prompt 它只是说源软件包在返回提示之前位于tmp文件夹中
This should work, 这应该工作,
sudo R -e "install.packages('countrycode', repos='http://cran.rstudio.com/')"
You will be asked to type in your password and then it starts downloading and installation ... 系统将要求您输入密码,然后密码开始下载和安装...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.