Re: [Trisquel-users] Installing R from source

2016-11-22 Thread asn

Solved!!

Thank you for the help! I already saw this link but I wrote badly the  
instruction to make the soft link. The correct one is:


# ln -s /home/asn/R/lib/R/lib/libR.so /usr/local/lib/R/lib/libR.so

Now it works.

Thank you!

Cheers



Re: [Trisquel-users] Installing R from source

2016-11-22 Thread t8mf4nu6lizp
I think it's that home prefix that means the file is elsewhere. How to fix  
that smoothly I don't know. Maybe you can specify somewhere in rstudio that  
you used such a home prefix for R. Or a dirty and dangerous solution could be  
copying the file over. Note that this could lead to problems because now this  
file would never get updated for one thing...


Does this help?  
https://support.rstudio.com/hc/en-us/community/posts/200661703-R-shared-library-usr-local-lib-R-lib-libR-so-not-found-UBUNTU-11-


[Trisquel-users] Installing R from source

2016-11-22 Thread asn

Hi all,

Has anyone tried to install R (https://cran.r-project.org/) from source?

I've followed the following:
# tar -xzvf R-3.3.2.tar.gz
# ./configure --prefix=/home/asn/R --enable-R-shlib=yes --with-readline=no  
--with-x=no

# make
# make install

Everything ok. However, when I install and run rstudio  
(https://www.rstudio.com), it says that:
"R shared library (/usr/local/lib/R/lib/libR.so) not found. If this is a  
custom build of R, was it built with the --enable-R-shlib option?"


I've tried to make some soft link to the path from above with a path with the  
libR.so file and it does not work.


Has anyone experienced anything similar?

thank you!!
Albert