Please bear in mind that my laptop is from non-English country and previously I had a problem to install packages in R, but I have figured out by using
install.packages('R330', lib="C:/Program Files/R/R-3.4.3/win-library")
And as I uploaded the photo below, it successfully imported all packages in my laptop to the address.
However, now when I try to load packages, it shows an error saying like
How can I solve this problem?
If you have the packages in the same directory, install all of them by:
setwd("C:/Program Files/R/R-3.4.3/win-library")
pkgs <- list.files()
install.packages(c(print(as.character(pkgs), collapse="\",\"")), repos = NULL)
The error you're getting is because s20x
hasn't been installed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.