K, it seems like I have a problem.
I'm trying to access the Hmisc package, which of course is installed.
And i get this error:
Loading required package: ggplot2
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘Rcpp’
Error: package ‘ggplot2’ could not be loaded
Error in unloadNamespace(package) :
namespace ‘ggplot2’ is imported by ‘caret’ so cannot be unloaded
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc, :
Package ‘ggplot2’ version 1.0.1 cannot be unloaded
Warning in install.packages :
cannot remove prior installation of package ‘Rcpp’
This sometimes happens with a package. What you can do is go to the library folder where all the packages are installed, find the Rcpp directory and delete this. Then reinstall Rcpp from cran. This should solve the issue.