install R package from source

 

 

If you have the file locally, then use install.packages() and set the repos=NULL:

install.packages(path_to_file, repos = NULL, type="source")


R CMD INSTALL RJSONIO_0.2-3.tar.gz


install.packages("https://cran.r-project.org/src/contrib/Archive/glmnet/glmnet_2.0-3.tar.gz",repos=NULL)

posted @ 2020-02-27 10:41  xiaojikuaipao  阅读(369)  评论(0编辑  收藏  举报