After I upgrade my R version, how can I easily reinstall all the packages that were installed in the old version? [duplicate]

二次信任 提交于 2019-12-29 18:37:11

问题


Possible Duplicate:
Painless way to install a new version of R?

In R, packages are not compatible across upgrades, and must be reinstalled. Is there any way to easily install the same set of packages in the new version as what I had installed in the old version?

Edit: I can't easily access the old version of R, since I upgrade via apt.


回答1:


I just posted a question with a possible solution:

update.packages(checkBuilt=TRUE, ask=FALSE)

What about that doesn't work for you?



来源:https://stackoverflow.com/questions/3974488/after-i-upgrade-my-r-version-how-can-i-easily-reinstall-all-the-packages-that-w

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!