Rstudio Server service starting issues (Centos 7)

I had R and Rstudio server working fine, but wanted a newer version of R than what was available in the repos (ie 3.5.3).

I built R from source and added it to my path and it works fine. However, now the Rstudio server service won't start. sudo rstudio-server verify-installation doesn't output any errors (just returns to command line). Uninstalling and re-installing rstudio server doesn't fix the issue. systemctl start rstudio-server.service says failed to start with Interactive authentication required.

I think it has something to do with building R from source and the install of rstudio-server not being able to locate R, but not sure how to fix this. Any ideas?

When you have build R did you have included the --enable-R-shlib option?

cd /usr/local/src
sudo wget
sudo su
tar zxvf R-3.5.3.tar.gz
cd R-3.5.3
./configure --enable-R-shlib
make install

Also, have you modified your rstudio server startup file to modify the PATH there? in my case the file is located here


I did use the --enable-R-shlib option during installation. My system doesn't have anything available for rstudio-server in /etc/init.d/.

I found this article:

This lets me configure the R path directly, but starting the service still fails.

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.