You are not logged in.

#1 2018-10-05 22:28:54

PatronMaster
Member
Registered: 2013-12-15
Posts: 12

[SOLVED] How can I have different R versions installed?

Hi Experts,

Is it possible install several R version to interact with Rstudio?
I need R version 3.4 because RSelenium still do not have compatibility with R 3.5.

My first workaround was not upgrade R and Rstudio, but now with last updates several libraries like libicuuc.so.61 not exist (now they are libicuuc.so.62) so I can't open Rstudio, so I upgraded.

I found some users with same problem. For example in this site https://github.com/DominikMueller64/install_R_source they made a script to install several R versions on Ubuntu.

Any advice is welcome.

Thanks

Last edited by PatronMaster (2018-10-15 13:35:11)

Offline

#2 2018-10-06 01:39:36

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,541
Website

Re: [SOLVED] How can I have different R versions installed?

You can install other versions under /opt/, but far easier than that would be to just rebuild 3.4 against the new libs.

R 3.4 should work fine with libs like libicuuc.so.62, it just needs to be linked to the current libs.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2018-10-06 16:38:59

PatronMaster
Member
Registered: 2013-12-15
Posts: 12

Re: [SOLVED] How can I have different R versions installed?

Thanks Trilby,

I found other workaround, I download the package RSelenium and install with R 3.5.

Before I changed this post to close, do you know how can I install multiple R versions and interact Rstudio (any documentation that explain detailed)?
The goal to avoid again the same situation is using packrat and have multiple R versions.

Offline

Board footer

Powered by FluxBB