简体   繁体   中英

Installing ez library on R

I am new to R and feeling a bit confused. I am getting this error message

library(ez) 

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'reshape2' 1.4.1 is already loaded, but >= 1.4.2 is required Error: package or namespace load failed for 'ez'

I have already checked the version that I have and it says 1.4.2. What should I do? Thank you SO much

Maybe 'reshape2' 1.4.1 is still loaded..try the following

remove.packages("reshape2")
remove.packages("ez")
install.packages("ez")

Should work afterwards.

If not then try this afterwards

detach("package:reshape2", unload=TRUE)

And additionally restart the R session.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM