Reputation: 100
I am aware of where the installed packages go! ICMY, it's nicely outlined here:
However, I do wonder where R caches the ZIP files (assuming Windows) it downloads from CRAN, i.e. prior to installing them in the library.
Any help most appreciated!
Upvotes: 1
Views: 801
Reputation: 2140
From the documentation for install.package
:
destdir (parameter, default=NULL) : directory where downloaded packages are stored. If it is NULL (the default) a subdirectory downloaded_packages of the session temporary directory will be used (and the files will be deleted at the end of the session).
The session's temp dir mentioned above is given by tempdir()
command
Upvotes: 2