升级R版本后,如何轻松地重新安装旧版本中安装的所有软件包? [重复]

时间:2022-03-18 07:00:22

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

可能重复:安装新版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?

在R中,程序包在升级期间不兼容,必须重新安装。有没有办法在新版本中轻松安装与旧版本中安装的相同的软件包?

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

编辑:我无法轻松访问旧版本的R,因为我通过apt升级。

1 个解决方案

#1


31  

I just posted a question with a possible solution:

我刚刚发布了一个可能解决方案的问题:

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

What about that doesn't work for you?

怎么样对你不起作用?

#1


31  

I just posted a question with a possible solution:

我刚刚发布了一个可能解决方案的问题:

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

What about that doesn't work for you?

怎么样对你不起作用?