R(对于 Windows)在安装之前将包存储在哪里?
Where does R (for Windows) store packages before it installs them?
我知道安装包的位置! ICMY,这里有很好的概述:
Where does R store packages?
但是,我确实想知道 R 在哪里缓存它从 CRAN 下载的 ZIP 文件(假设 Windows),即在将它们安装到库中之前。
非常感谢任何帮助!
来自 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).
上述会话的临时目录由tempdir()
命令
给出
我知道安装包的位置! ICMY,这里有很好的概述:
Where does R store packages?
但是,我确实想知道 R 在哪里缓存它从 CRAN 下载的 ZIP 文件(假设 Windows),即在将它们安装到库中之前。
非常感谢任何帮助!
来自 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).
上述会话的临时目录由tempdir()
命令