Skip to content
Prev 3028 / 3656 Next

[FORGED] r-base is already the newest version (3.5.2-1bionic)

On 1/30/19 11:53 AM, Dirk Eddelbuettel wrote:
Now *that* was a revealing suggestion!  I did that and got:
So indeed the installation had not actually been done.

The nature of the message prompted me to try

     sudo apt purge r-base-core

which ran and said that it was removing a whole lot of stuff.

I then tried

      sudo apt-get install r-base-core

which ran and gave a whole lot more output than was previously produced 
when I ran "sudo apt-get install r-base".  (Note: I had been typing
*r-base* and NOT *r-base-core*.)  It indicated that it was doing lots of 
stuff that looked promising in respect of actually *installing* R.

And in fact the promise was fulfilled.  I then started R and got:
Ta-da!!!

Was the problem essentially that I had been saying

"sudo apt-get install r-base" rather than

"sudo apt-get install r-base-core"?

Is it possible that the latter is needed if R has previously been 
installed from source, but otherwise just "r-base" is sufficient?

If so, it might be useful to note this in the instructions in

https://cran.r-project.org/bin/linux/ubuntu/README.html

<SNIP>

Anyhow, I now seem to be out of the woods, at long last.  Thanks for 
setting me on the path.

cheers,

Rolf