Installing R-4.0 on Ubuntu 18.04 painlessly

There are some great instructions here but there are a few gotchas to be aware of. Follow these instructions first, and it will make the process a LOT easier:

1. Make sure you have these dependancies installed. If you don't, you're going to have trouble installing any R packages like R curl, tidyverse, devtools, etc

sudo apt install libssl-dev libcurl4-openssl-dev libxml2-dev

2. Remove any existing R install.

sudo apt remove r-base* --purge

3. Remove any remaining packages. It's better to install them "fresh". They will be in locations like /home/user/R/R-3.6.6 and /usr/lib/R/library/

4. Remove any existing entry for R in the etc/apt/sources.list to install an older R version.

sudo nano /etc/apt/sources.list

For example you might have something like this:

deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/

5. Then follow the DigitalOcean instructions here and you should be set up in just a few minutes.

Comments


  1. This information really helped me a lot. It was very informative.
    DevOps Training
    DevOps Online Training

    ReplyDelete


  2. Amazing blog! I really like the way you explained such information about this post with us. And blog is really helpful for us this website
    r-studio-crack
    deep-freeze-crack
    advanced-uninstaller-pro-crack
    google-chrome-crack
    ashampoo-driver-updater-crack
    objectdock-crack
    coreldraw-crack
    webcammax-crack

    ReplyDelete
  3. OH MY GOD! I finally get rid of freaking R 3.4 and installed 4.0. Thank you so much!!!!!!!

    ReplyDelete
  4. Great work with hard work you have done I appreciate your work thanks for sharing it.
    <a href="http://samipc.org/r-studio-pro-crack/ >R-Studio Pro Crack </a>

    ReplyDelete
  5. Usually I do not read post on blogs, but I would like to say that this write-up very forced me to try and do it! Your writing style has been surprised me. Great work admin.Keep update more blog.Visit here for Product Engineering Services | Product Engineering Solutions.

    ReplyDelete
  6. Wonderful content! Keep working on it! And if you have time, try checking out our website.Ashampoo Driver Updater

    ReplyDelete

Post a Comment

Popular posts from this blog

Data analysis step 8: Pathway analysis with GSEA

EdgeR or DESeq2? Comparing the performance of differential expression tools