Skip to content
Prev 3035 / 3656 Next

Running R from terminal in ubuntu 16.04 gives Fatal Error message

I just installed R 3.4.4 and Rstudio on my computer with the OS Ubuntu
16.04. Rstudio detects the Installation of R and works normally. However,
trying to run R in the terminal I get this error:

*Fatal error: unable to open the base package*

I have trying setting the R_HOME using:

*export R_HOME=/usr/lib/R*

However it did not work. Any idea how to resolve this?


Ps. I have used r-bloggers
<https://www.r-bloggers.com/how-to-install-r-ubuntu-16-04-xenial/>, the
"Add R Repository" version to install R.

Any help would be much appreciated.

Best,

Behnoosh