Rstudio server Pro installed on RHEL7
I have 3 parallel R installs: MRO 3.5.3, R 3.6.2, and R 4.0.2 latest
I'm using the /etc/rstudio/r-versions file to define versions available in the IDE
In short, I just installed R 4.0.2 (built from source as ./configure --prefix=/usr/lib64/R/4.0.2 --enable-R-shlib) and verified I can launch an R 4.0.2 session from a bash shell. After adding an entry to r-versions and restarting the server, I visit the server login page and launch a session which still works fine under the default (3.5.3) install. When I attempt to switch the R version over to 4.0.2 I get some reticulating splines followed by a "RStudio Initialization Error" popup informing "Error occurred during transmission."
When I check rstudio-server status i see the following message:
ERROR rserver-launcher: /usr/lib/rstudio-server/bin/rsession: /usr/lib64/anaconda3/lib/libuuid.so.1: no version information available (required by /usr/lib/rstudio-server/bin/rsession)|||; LOGGED FROM: void rstudio::server::ProcessMonitor::onProcessStderr(rstudio::server::ProcessMonitor::Process, const string&) /var/lib/jenkins/workspace/IDE/pro-pipeline/v1.2-patch/src/cpp/server/ServerProcessMonitor.cpp:209
Could use help on solving this - suspect something to do with my $PATH?
One thing to suggest here -- we have precompiled R binaries -- available to the public: https://docs.rstudio.com/resources/install-r/. We've found these can really help to make parallel installs of R easier on the pro products. I think the first thing I'd try, just to make your life easier, would be to download and install the 4.0.2 R binary.
One other question -- are you using anaconda on the system for managing R dependencies? It looks like the R session starting is getting diverted into anaconda.
Thank you for the tip. I removed the previous install and installed from the precompiled binary. I updated r-versions to point to the /opt/R/4.0.2 path of new install.
This is from /var/lib/rstudio-server/monitor/log/rstudio-server.log
30 Jul 2020 06:23:27 [rserver] ERROR rserver-launcher: /usr/lib/rstudio-server/bin/rsession: /usr/lib64/anaconda3/lib/libuuid.so.1: no version information available (required by /usr/lib/rstudio-server/bin/rsession)|||; LOGGED FROM: void rstudio::server::ProcessMonitor::onProcessStderr(rstudio::server::ProcessMonitor::Process, const string&) /var/lib/jenkins/workspace/IDE/pro-pipeline/v1.2-patch/src/cpp/server/ServerProcessMonitor.cpp:209
(base) [root@hsbeu1-u00001 etc]# rstudio-server verify-installation
Checking Job Launcher configuration...
Job Launcher integration not configured
/usr/lib/rstudio-server/bin/rsession: /usr/lib64/anaconda3/lib/libuuid.so.1: no version information available (required by /usr/lib/rstudio-server/bin/rsession)
I am not using anaconda for managing R. Only for a python distr. Let me see how I can fix the $PATH..
Have you filed a support ticket on this issue? Since you're using RStudio Server Pro, you have access to our premium support and they can provide in-depth help.
Please come back and share the solution when you've got one for everyone's benefit!