Update R in Rstudio to specific version 3.2.1 in windows
1
0
Entering edit mode
svlachavas ▴ 800
@svlachavas-7225
Last seen 22 days ago
Germany/Heidelberg/German Cancer Resear…

Dear Bioconductor community,

I have and run currently on windows machine the R version 3.2.0 on Rstudio and i would like to upload it. However, i would prefer update to 3.2.1 and not to newer 3.2.2, due to some MOOCs I'm currently attending and due to some packages that are not available to the latest version(probably some bugs or dependencies people mentioned). I'm familiar with the R package installr, but it updates to the latest version ! Should i download manually the R 3.2.1 ? And which steps i must follow next ? Any ideas or suggestions would be essential  !!

updateR rstudio Rversion3.2.1 • 4.8k views
1
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 18 months ago
United States

It sounds like you do not want R-3.2.0 and you do not want R-3.2.2 but you do want R-3.2.1.

Therefore I suggest you uninstall R-3.2.0 and then install R-3.2.1

After installing R-3.2.1, you can install Bioconductor with this command:

source("https://bioconductor.org/biocLite.R")

Then you can install specific packages with

biocLite("PackageName")

Can you specify what issues you (or others) are having with R-3.2.2? Packages should work identically in both versions and if not, the package maintainers (who may be reading this) need to fix the issues.

0
Entering edit mode

Dear Dan,

the comment for the packages was from the coursera MOOCs-https://class.coursera.org/genbioconductor-004/wiki/GettingStarted:

"In the last couple of weeks, R-3.2.2 has been released on CRAN. One of the main features of this new release is that it now installs packages over the https protocol instead of http, which is more secure. Based on email lists and other feedback it appears that this support might be flaky for some users, especially on OS X. If you have a problem installing Bioconductor packages, you could consider switching to R-3.2.1 which is different in this regard."

Thats why i mentioned it. On the other hand, regarding your proposal: if i unistall R 3.2.0, then i also have to remove all the installed packages and the libraries as also ? because with the unistall they dont removed !! Im asking this because maybe when after i install 3.2.1 maybe would be a problem with the packages ? Nevertheless, i would like also to ask you if i download the R version 3.2.1, if there is a possibility in Rstudio to keep both versions and choose the one i would like ?

Best,

Efstathios

1
Entering edit mode

In a typical R installation on Windows, you'd need to reinstall all packages anyway if you installed  a different version of R. I suggested uninstalling the older version because it seems cleaner and less error prone to have just one version installed on your machine, but this link tells you how to choose your R version in RStudio, if you do have multiple versions of R installed.

0
Entering edit mode

0
Entering edit mode

I have not seen reference to nor experienced the problems they refer to.

Besides they specify Mac OS X as having the most problems and you are using Windows. If it was me I would upgrade but if you want to be cautious it's ok to continue to use 3.2.1, all packages should work the same way.