Where are the installed R packages?

Tom

Where are the installed R packages?

For example, after installing packages with 'install.packages("mlbench")' and so on, only "The downloaded binary packages are in C:\Users\ABC\AppData\Local\Temp\Rtmp2XB0sh\downloaded_packages" is a piece of related info from the console messages.

However, I fail to find them at all after scouring my computer according to package names (not just listing them with 'installed.packages()'). This question seems very difficult for me, but strangely I found almost no answer online. Where are the installed packages on the local computer?

Ujjwal

You can view the location by running the following:

.libPaths()
#[1] "C:/Users/ujjwal/Documents/R/win-library/3.1" "C:/Program Files/R/R-3.1.1/library"   

R packages are installed into libraries, which are directories in the file system containing a subdirectory for each package installed there.

R comes with a single library, R_HOME/library which is the value of the R object .Library containing the standard and recommended packages. At the lowest level .libPaths() can be used to add paths to the collection of libraries or to report the current collection.

R will automatically make use of a site-specific library R_HOME/site-library if this exists. This location can be overridden by setting .Library.site in R_HOME/etc/Rprofile.site. For more details see here.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Where are composer packages installed?

From Dev

Where are composer packages installed?

From Dev

Installed packages in R

From Dev

Where is the configuration information of installed packages?

From Dev

Where are installed packages’ dependencies stored?

From Dev

Where are the visual C++ redistributable packages installed?

From Dev

Where are meteor's installed packages located?

From Dev

Where are chocolatey packages cached when installed with DSC

From Dev

Where are meteor's installed packages located?

From Dev

Where do packages installed with DNF get stored?

From Dev

Where to find a detailed catalog of installed packages?

From Dev

Where are packages stored installed with APT in Ubuntu 16.04?

From Dev

How to find out where different packages are installed?

From Dev

R can't find packages installed by travis

From Dev

R can't find packages installed by travis

From Java

Where do global npm packages get installed on Ubuntu

From Dev

Where do packages installed/upgraded with APT get stored?

From Dev

Find where packages have been installed using rpm

From Dev

Where do I find packages files of apps that are installed

From Dev

Where do packages installed/upgraded with APT get stored?

From Dev

Where does Synaptic (Debian) stores the installed packages list?

From Dev

where does apt or dpkg store the list of installed packages?

From Dev

Possible to extract R packages installed from CRAN and Github, separately?

From Dev

Possible to extract R packages installed from CRAN and Github, separately?

From Dev

How to remove installed packages

From Dev

How to remove installed packages

From Dev

View installed packages in Debian

From Dev

List explicitly installed packages

From Dev

packages to be install in a for loop if not installed

Related Related

  1. 1

    Where are composer packages installed?

  2. 2

    Where are composer packages installed?

  3. 3

    Installed packages in R

  4. 4

    Where is the configuration information of installed packages?

  5. 5

    Where are installed packages’ dependencies stored?

  6. 6

    Where are the visual C++ redistributable packages installed?

  7. 7

    Where are meteor's installed packages located?

  8. 8

    Where are chocolatey packages cached when installed with DSC

  9. 9

    Where are meteor's installed packages located?

  10. 10

    Where do packages installed with DNF get stored?

  11. 11

    Where to find a detailed catalog of installed packages?

  12. 12

    Where are packages stored installed with APT in Ubuntu 16.04?

  13. 13

    How to find out where different packages are installed?

  14. 14

    R can't find packages installed by travis

  15. 15

    R can't find packages installed by travis

  16. 16

    Where do global npm packages get installed on Ubuntu

  17. 17

    Where do packages installed/upgraded with APT get stored?

  18. 18

    Find where packages have been installed using rpm

  19. 19

    Where do I find packages files of apps that are installed

  20. 20

    Where do packages installed/upgraded with APT get stored?

  21. 21

    Where does Synaptic (Debian) stores the installed packages list?

  22. 22

    where does apt or dpkg store the list of installed packages?

  23. 23

    Possible to extract R packages installed from CRAN and Github, separately?

  24. 24

    Possible to extract R packages installed from CRAN and Github, separately?

  25. 25

    How to remove installed packages

  26. 26

    How to remove installed packages

  27. 27

    View installed packages in Debian

  28. 28

    List explicitly installed packages

  29. 29

    packages to be install in a for loop if not installed

HotTag

Archive