参考这篇博主的文章
简单的方法就是首先检查自己的网络,如果网络出现问题就切换:
options(repos="http://cran.rstudio.com/")
切换后再输入:
install.packages("lifecycle", type="binary", dependencies = TRUE)
即格式为:
install.packages(“pakgname”, type=“binary”, dependencies = TRUE);
参考这篇博主的文章
简单的方法就是首先检查自己的网络,如果网络出现问题就切换:
options(repos="http://cran.rstudio.com/")
切换后再输入:
install.packages("lifecycle", type="binary", dependencies = TRUE)
即格式为:
install.packages(“pakgname”, type=“binary”, dependencies = TRUE);