r - Error: package or namespace load failed for ggplot2 and for data.table -
i not able open install ggplot2 , data.table packages. gives me following error (example ggplot2)
> library(ggplot2) error in loadnamespace(j <- i[[1l]], c(lib.loc, .libpaths()), versioncheck = vi[[j]]) : there no package called ‘rcpp’ error: package or namespace load failed ‘ggplot2’
i able work fine these 2 packages before closed r session. shows me error each time try run it.
i have tried remove , re-install it, without success.
remove.packages(c("ggplot2", "data.table")) install.packages('ggplot2', dep = true) install.packages('data.table', dep = true)
i not sure what's wrong
this solved issue:
remove.packages(c("ggplot2", "data.table")) install.packages('rcpp', dependencies = true) install.packages('ggplot2', dependencies = true) install.packages('data.table', dependencies = true)
Comments
Post a Comment