0
votes

I installed R on redhat using the following commands:

  • ./configure --enable-R-shlib –with-readline=no –with-
  • make clean
  • make
  • make install

I have the R_HOME installed in /local/home/UserX/R-3.2.3. First I had the issue of starting Rtudio Server browser Interface. So I linked:

  • ln -s /local/home/UserX/R-3.2.3/bin /usr/local/bin
  • ln -s /local/home/UserX/R-3.2.3/bin /usr/bin
  • ln -s /local/home/UserX/R-3.2.3/lib /us/local/lib

Now I can open RStudio Server web interface, but I can't login. And when I try the following command I got:

  • sudo rstudio-server verify-installation

I got : /usr/lib/rstudio-server/bin/rsession: error while loading shared libraries: libR.so: cannot open shared object file: No such file or directory rstudio-server start/running, process 14677

Any ideas about how solving this problem ?

Many thanks

1

1 Answers

0
votes

Can you explain what you mean by

So I linked:
/local/home/UserX/R-3.2.3/bin to /usr/local/bin
/local/home/UserX/R-3.2.3/bin /usr/bin
/local/home/UserX/R-3.2.3/lib /us/local/lib

On a normal system, R is installed properly following configure ...; make; make install and found via the $PATH. There is nothing else you need to do. Besides installing RStudio from rpm or deb. You could also install R that route, and that may indeed be advisable ...