Rstudio Upgrade

Does upgrading Rstudio affect the currently installed R packages?

No, RStudio is an IDE for the R programming language but they are independent pieces of software.

1 Like

Thanks andrescrs, I appreciate it!

Do you have any advice as to upgrading R and keeping the packages intact?
Windows Server 2012 R2 running RStudio Desktop Version 1.2.5019 with R version 3.6.1

On Windows each R version gets installed independently with its own package library, so you can manually copy your packages from the old folder to the new one (do not overwrite anything) or you could modify your .libpaths to include your old library path, although I prefer the first approach. After that, you'll have to update your packages with the checkBuilt option.

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

Official documentation from CRAN
https://cran.r-project.org/bin/windows/base/rw-FAQ.html#What_0027s-the-best-way-to-upgrade_003f

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.