Sudo echo "deb bionic-cran35/" | sudo tee -a /etc/apt/sources.list The only difference is that instead of the command Since both Linux Mint and R have seen upgrades since I answered this question, I'm updating for those who come to this answer needing the info for Linux Mint 19 and R 3.6.x. Update.packages(checkBuilt=TRUE, ask=FALSE) Start a new R session and run the following: If not, I highly recommend you install it via Sudo echo "deb xenial/" | sudo tee -a /etc/apt/sources.list (replacing with whichever CRAN mirror URL you chose in step 1): Open a terminal and enter the following commands The terminal commands below assume you choose Go to CRAN's list of mirrors and find the URL of the mirror that is closest to you. So, for completeness, these are all the steps you'd need to take: I also typically use the approach here to deal with packages I've already installed when I upgrade R rather than the approach offered by FedRo. The link provided by FedRo is a good resource, however a slight change would need to be made since you're using Linux Mint 18.1 which uses Xenial repositories rather than Trusty repositories (see here). , the popular set of data-wrangling packages, as well as : I now keep on GitHub (here) an up-to-date guide to upgrading R on Linux Mint or Ubuntu Linux, which also includes a bit of extra information about system dependencies for
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |