You should install the Rcpp package, as the error message is telling you. You could also use the dependencies=TRUE argument to install.packages().
Sarah On Mon, Mar 7, 2016 at 2:23 PM, jessy <jesitha.sa...@gmail.com> wrote: > Hi, > I am trying to install ggplot2 in R software but Im getting the following > error message: > Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck > = vI[[j]]) : > there is no package called ‘Rcpp’ > Error: package or namespace load failed for ‘ggplot2’ > > Please help me with this issue, whats to be done to rectify it. > > Thanks > ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.