Skip to content

Keep Downloading R 3.6.3 on Linux Mint 20.1

6 messages · E Tam, Facundo Muñoz, Dirk Eddelbuettel +1 more

#
To whom it may concern,
 I have been trying forever to get R installed on a computer running Linux Mint 20.1, but nothing works. I went to CRAN (https://mirrors.nics.utk.edu/cran/) and followed all of the instructions, but it installed R 3.6.3! This would not be a problem since I only need to do some relatively simple things, except every library has updated to R 4.0 and nothing from 3.6 can be used with 4.0, and vice versa. I can use base R just fine in RStudio, but any attempts to downloads libraries fail. 

I asked for help on the Linux Mint Forums (https://forums.linuxmint.com/viewtopic.php?f=47&t=347119&p=2005975#p2005975), but we did not make a lot of progress. What we figured out what that on the official instructions, they are missing a step. [sudo apt-update] needs to be run after [add-apt-repository ppa...]. I also needed to run [apt-get update --allow-insecure-repositories], but I have no idea why CRAN's repository would not be secure. Adding these steps gets me the error,
Err:5 https://cloud.r-project.org/bin/linux/ubuntu ulyssa-cran40/ Packages
  404  Not Found [IP: 13.249.183.20 443]
Any help figuring this out will be much appreciated. 

From,??????? -E
#
Dear E Tam,

I've been using R v4.* on Linux Mint 20.1 without any trouble.

I think the problem can be in your deb line, which uses Mint's codename
"ulyssa". You probably have to change it to "focal". Depending on how
you set this up, you can do it from Mint's "Software Sources" gui
application, under "Additional Repositories". You should find an entry
for the R-project.

Good luck.

?acu.-
On 22/04/2021 05:49, E Tam wrote:

  
  
#
The ppa for Ubuntu and Debian Is named with with ?mrutter? (maintained by Michael Rutter). You should be able to find info in this lists archives. 

David

Sent from my iPhone
#
On 22 April 2021 at 00:03, David Winsemius wrote:
| The ppa for Ubuntu and Debian

Ubuntu, and likely useable on derivarives like Mint but *not* Debian.

You cannot (generally) mix Debian and Ubuntu. (Some vendors do for things like
Chrome as .deb as all dependencies are in that package; but normally packages
specify exactly what they need and the versions can be different in various
delicate ways, so in general "don't do this").

Dirk
#
Apologies for the misinformation. The link to Michael Rutter?s info page 

https://launchpad.net/~marutter/+archive/ubuntu/c2d4u3.5

? 
David. 
Sent from my iPhone

  
  
#
Sorry for the misunderstanding. The info on Rutter?s ppa is here: 

https://launchpad.net/~marutter/+archive/ubuntu/c2d4u3.5

And apologies if this is a duplicate. Sending from an airport lounge. Getting weird responses from my net connection. 

? 
David

Sent from my iPhone