Downloading and installing R for Ubuntu 17.10 in VMware player

I have installed VMware and ubuntu 17.10. I cannot find the instructions to install R from the universal repository. The instructions I use error. Could you please send me download and installation instructions?

Did you check this: https://cran.r-project.org/bin/linux/ubuntu/

1 Like

There was a blog post released from R-bloggers a few days ago that deals with this. The original blog post can be found here

When I type sudo apt-get update I get the error below: DO you know what is going on?
Err:1 https://<my.favorite.cran.mirror>/bin/linux/ubuntu trusty/ InRelease
Could not resolve '<my.favorite.cran.mirror>'
Ign:2 http://security.ubuntu.com/ubuntu artful-security InRelease
Err:3 http://security.ubuntu.com/ubuntu artful-security Release
404 Not Found [IP: 91.189.88.152 80]

Replacing <my.favorite.cran.mirror> with cran.r-project.org in /etc/apt/sources.list should fix the apt error.

1 Like

Thank you for your reply. I will try that.

That worked for that error. Now, when I type sudo apt-get update, I get the message below
Err:4 http://security.ubuntu.com/ubuntu artful-security Release
404 Not Found [IP: 91.189.88.149 80]

I don't see the error in that offhand, but I'm not a Linux/apt expert. Hopefully someone else knows more than I do -- or you may need to ask at a better-targeted site, such as https://askubuntu.com/.

For what it is worth, I was trying to upgrade my Ubuntu 17.10 laptop with the current version or RStudio and for some reason couldn't get it to install. I found the following worked for me:
wget --tries=3 --timeout=120 https://download1.rstudio.org/rstudio-xenial-1.1.383-amd64.deb
sudo dpkg -i rstudio-*-amd64.deb

Thank you,

The proxy was causing the problems. It seems that when working with a proxy one has to configure the apt folder.

The are program that I have to design a website GUI using RStudio server takes as input some proteomics files. I know one can read files stored in the hard drive when RStudio is running in my laptop, however, when the users run the R program from the internet website, will the files be uploaded from the users PCs or laptoPs to the server? How will the files be uploaded?