Xubuntu 18 R4.0 Rstudio error

Hello, I am new in R and I recently install Xubuntu 18 in my netbook.

I can install R 4.0, and dowload .deb of Rstudio (rstudio-1.3.959-amd64)

I can open R in a shell but when I run rstudio I have this message

R shared library (/usr/local/lib/R/lib/libR.so) not found. If it is a custom build of R, was it built if the --enable-R-shlib option?

I sow other post with this error and I try do these:

sudo cp /usr/lib/R/lib/libR.so /usr/local/lib/R/lib/libR.so

but not found,

¿It is possible that I installed my R in home and Rstudio in usr?

¿How can I fix it?

How have you installed R, have you compiled from source?

Yes thank you very much, I was able to resolve the error using

$ ./configure --enable-R-shlib

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