# initial settings
libary_path <- paste(getwd(), "packages",sep="/")
dir.create(libary_path,showWarnings = FALSE)
.libPaths(libary_path)
if(!require(testthat)){
install.packages("testthat")
library(testthat)
}
# initial settings
libary_path <- paste(getwd(), "packages",sep="/")
dir.create(libary_path,showWarnings = FALSE)
.libPaths(libary_path)
if(!require(testthat)){
install.packages("testthat")
library(testthat)
}
本文标题:R语言关于程序包的安装
本文链接:https://www.haomeiwen.com/subject/pivbaktx.html
网友评论