R力重新安装包 [英] R force reinstall packages
本文介绍了R力重新安装包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我运行命令 update.packages(checkBuilt = TRUE,ask = FALSE)
。
然而我的html目录不可写,我有很多:
However my html directories were not writable and I got a lot of:
Warning in file.create(f.tg) :
cannot create file '/usr/share/doc/R-3.0.1/html/packages.html', reason 'Permission denied'
有没有办法强制重新安装所有包,我已经修复了我的权限问题,所以我得到这些HTML文件?代码部分安装正确,所以 update.packages
不再工作了。
Is there a way to force reinstall all packages now that I've fixed my permissions issues, so I get those HTML files? The code part got installed correctly, so update.packages
doesn't work anymore.
推荐答案
install.packages
安装包,即使它存在于图书馆。当然,这将是最新版本。
install.packages
installs a package even if it exists in your library. And of course it will be in the latest version.
这篇关于R力重新安装包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文