r libPaths

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了r libPaths相关的知识,希望对你有一定的参考价值。

.libPaths(c(.libPaths(), '/local/home/pallanan/R/x86_64-pc-linux-gnu-library/3.4'))




.libPaths(c(.libPaths(), 'C:/Users/pallanan/Downloads'))
Shows R where the libraries are installed.   part from the deafult location now R aloso checks for libraries in downloads


> .libPaths()                 # all library trees R knows about
[1] "/usr/local/lib/R/site-library" "/var/lib/R/shared_libs"       
[3] "/usr/lib/R/library"           


以上是关于r libPaths的主要内容,如果未能解决你的问题,请参考以下文章

R语言学习之packages

R 在哪里存储包?

R 包在卸载时必须卸载动态库吗?

2021-07-13 R包安装出错与解决方法

R包操作相关:安装卸载加载移除已经安装的包包的路径函数查看等

R语言学习