Then, see where your default library currently lies. To address these issues, you will need to change the RStudio package library to a location for which you have access permissions.įirst, launch RStudio. Using the default install.packages command can result in a series of frustrating messages like this: ’lib = “”’ is not writable It is also common to need to install R packages, but users can encounter problems due to lacking administrator permissions on the computer on which they are working. Many users have R installed in a personal workspace, but want to install packages into a common area so that their entire team can use them and preserve version consistency. You will have to re-install any additional R packages that you use to match the updated version of R.For private training for 3 or more people at your site or online. This will most likely result in a major update of R so that the next time you run R only the base packages will be available. Mark the packages for upgrade and click on apply. r-base, r-base-core, r-base-core-dbg, r-base-dev, r-base.html). Now if you open Synaptic Package Manager and search for r-base, you should see the installed versions and the latest versions of several packages (e.g. sudo apt-key adv -keyserver -recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 sudo add-apt-repository 'deb xenial/' sudo apt-get update To get the latest versions of R and its packages, you need to add CRAN to the apt-get repositories. In February 2018, that method still gave me R version 3.2.3 (). You most likely got an out of date version. If you installed R from the Ubuntu repository with sudo apt-get install r-base
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |