Where’s the common library? In this case, I do not see it because I didn’t run RStudio as an administrator, even though I am an administrator on this machine. Notice what happens if I select the dropdown in Install to Library: It is important to make sure you are running RStudio with the correct privileges. In this instance, it is the personal library. You can see the first library shows up as the installation location. If you click on the Install Packages… menu item from the Tools menu: In this particular case, there is a default common library, C:/Program Files/R/R-3.4.1/library, along with a personal library, C:/User/Kevin/Documents/R/win-library/3.4. You can view the current library path(s) by running the following command in the R console in RStudio. 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. For private training for 3 or more people at your site or online.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |