Sometimes, when you want to install new packages in R, you R session will have no default repository selected. In order to solve that problem, as second argument to install.packages function, you will have to provide optional argument repos, like in case:
install.packages("openxlsx", repos="http://cran.us.r-project.org")
Mirror http://cran.us.r-project.org is active at date of this post writing.
For video tutorial, check the link below.
No comments:
Post a Comment