arnaud gaboury <arnaud.gaboury <at> gmail.com> writes: > Now when trying to update Rcpp: > > gabx <at> hortensia [R] install.packages("Rcpp") > ............. > Error in unloadNamespace(pkg_name) : > namespace ‘Rcpp’ is imported by ‘reshape2’, ‘plyr’, ‘dplyr’ so > cannot be unloaded > ...................... > > I can't upgrade my packages because of Rcpp >=0.11.3 needed (running > actually 0.11.2) > > What is this namespace imported by 'reshape2’, ‘plyr’, ‘dplyr’ ? How > can I get rid of it and upgrade my packages ?
I'd do $ R --vanilla # to ensure nothing is loaded > install.packages("Rcpp") # possibly set a repo but what I really do is to use scripts update.r, install.r, install2.r, ... from package littler which makes as this so much easier -- and do it on the command-line with "empty" R sessions. Dirk ______________________________________________ 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.