【R】R語言指定包安裝目錄

僅針對Linux操做系統。web 查看R安裝目錄 R # 進入R軟件 .libPaths() 方法1 在 ~/.bashrc 中設置 export R_LIBS_USER=/your/path 而後採用 install.packages("ggplot2", "repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/")) 便可將包安裝
相關文章
相關標籤/搜索