$ vi .Rprofile
local({
r <- getOption("repos")
r["CRAN"] <- "https://cran.r-project.org/"
options(repos = r)
})
$ R
.libPaths()
[1] "/home/user/R/x86_64-pc-linux-gnu-library/4.1"
[2] "/usr/local/lib/R/site-library"
[3] "/usr/lib/R/site-library"
[4] "/usr/lib/R/library"
install.packages('package_name')
install.packages(c('p1', 'p2', 'p3'))
remove.packages(c('p1', 'p2', 'p3'), lib = '/usr/lib/R/library')
update.packages()
'R' 카테고리의 다른 글
[R] predict (0) | 2021.10.19 |
---|---|
[R] Enhanced Volcano plot (0) | 2021.10.12 |
[R] boxplot options (0) | 2021.10.06 |
[R] basic (0) | 2021.05.25 |
[R] Clustering (0) | 2020.12.30 |
댓글