Thanks Pascal. Not yet resolved. Here is an example of symbolic link between libR.so https://support.rstudio.com/hc/communities/public/questions/200661703-R-shared-library-usr-local-lib-R-lib-libR-so-not-found-UBUNTU-11-
When I get a symbolic link with: sudo ln -s /usr/lib/R/lib/libR.so /usr/local/R-devel//lib/libR.so The R session had a fatal error. ERROR r error 4 (R code execution error) [errormsg=Error in .Internal(getOption(x)) : there is no .Internal function 'getOption' ]; OCCURRED AT: core::Error r::exec::evaluateString(const std::string&, SEXPREC**, r::sexp::Protect*) /home/ubuntu/rstudio/src/cpp/r/RExec.cpp: On Mon, Mar 9, 2015 at 10:53 AM, Pascal Oettli <kri...@ymail.com> wrote: > Hello, > > There is a dedicated support to RStudio here: https://support.rstudio.com > > Regards, > Pascal > > On Mon, Mar 9, 2015 at 7:41 PM, Karim Mezhoud <kmezh...@gmail.com> wrote: > > Dear All, > > I am actually on R-devel using shell consol. When I run RStudio, it can't > > find libR.so in the new /lib folder where is libRblas.so libRlapack.so. > > At first step I configure R-devel to share library with ./configure > > --enable-R-shlib. > > > > when I copied libR.so from /usr/lib/R/lib/libR.so (stable version R 3.1) > > to /usr/local/R-devel/lib/libR.so (R-devel version), That doesn't work. > > > > please find the detail at below. > > Karim mezhoud > > > > > > > > > > $which R > > /usr/bin/R > > $R > >> R.Version()[13] > > $version.string > > [1] "R version 3.1.2 (2014-10-31) > > > >> Sys.getenv("R_HOME") > > [1] "/usr/lib/R" > > > >> .Library > > [1] "/usr/lib/R/library" > >> .libPaths() > > [1] "/home/mezhoud/R/x86_64-pc-linux-gnu-library/3.1" > > [2] "/usr/local/lib/R/site-library" > > [3] "/usr/lib/R/site-library" > > [4] "/usr/lib/R/library" > > " > > > > > > $sudo apt-get build-dep r-base > > $sudo apt-get install subversion ccache > > $mkdir ~/svn/ > > $cd ~/svn/ > > $svn co https://svn.r-project.org/R/trunk r-devel/R > > > > $cd /svn/r-devel/R > > $./configure --enable-R-shlib > > $make > > $make check > > $sudo make install rhome=/usr/local/R-devel > > > > $which R > > /usr/local/bin/R > > > > $cd /usr/local/bin > > $R > > > >>R.Version()[13] > > $version.string > > [1] "R Under development (unstable) (2015-03-07 r67951)" > > > >> .libPaths() > > [1] "/usr/local/R-devel/library" > >> .Library > > [1] "/usr/local/R-devel/library" > > > >> Sys.getenv("R_HOME") > > [1] "/usr/local/R-devel" > > > > $rstudio > > R shared library (/usr/local/R-devel/lib/libR.so) not found. > > If this is a custom build of R, was it built with the --enable-R-shlib > > option? > > > > $export RSTUDIO_WHICH_R=/usr/local/bin/R > > $rstudio > > R shared library (/usr/local/R-devel/lib/libR.so) not found. > > If this is a custom build of R, was it built with the --enable-R-shlib > > option? > > > > $export RSTUDIO_WHICH_R=/usr/local/R-devel/bin/R > > $rstudio > > R shared library (/usr/local/R-devel/lib/libR.so) not found. > > If this is a custom build of R, was it built with the --enable-R-shlib > > option? > > > > $sudo locate libR.so > > /usr/lib/libR.so > > /usr/lib/R/lib/libR.so > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > -- > Pascal Oettli > Project Scientist > JAMSTEC > Yokohama, Japan > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.