I'm trying to install R 3.6.3 and Rstudio on my Ubuntu 18.04.
R 3.6.3 works on the command line but when I try to run using the shortcut created on the desktop the error appears:
#ERRO NO RSTUDIO
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?
What can I do to solve this problem and start Rstudio?
I noticed that this library is at:
#where is the problem library
marco @ marco-Aspire-A515-51: ~ / Downloads / R-3.6.3 $ locate libR.so
Note 2: R and Rstudio are in different locations. Look:
#where is Rstudio
marco @ marco-Aspire-A515-51: ~ $ which rstudio
/ usr / bin / rstudio
where is R 3.6.3
marco @ marco-Aspire-A515-51: ~ $ which R version 3.6.3
/ usr / local / bin / R
Note 3: R 3.6.3 I installed in the Downloads folder.