Since Apple upgrade to 10.11.2 and the new version ggplot2 running library(ggplot2) gives the following Error in library.dynam(lib, package, package.lib) : shared object ?Rcpp.so? not found Error: package or namespace load failed for ?ggplot2? Updating all packages went without errors but did not correct this error. Re-installing R did not correct the situation and similar errors occur in Studio. This same R version and ggplot2 on Windows 7 did not produce these error and is why I do not suspect ggplot2. Thank you -- Paul H. Schlesinger MD, PhD Washington University School of Medicine [[alternative HTML version deleted]]
> On Jan 1, 2016, at 6:54 PM, Paul Schlesinger <phschlesinger at gmail.com> wrote: > > Since Apple upgrade to 10.11.2 and the new version ggplot2 running > library(ggplot2) gives the following > > Error in library.dynam(lib, package, package.lib) : > shared object ?Rcpp.so? not found > Error: package or namespace load failed for ?ggplot2?Do you have Rcpp_0.12.2 installed?> Updating all packages went without errors but did not correct this error.If you used `update.packages, did you use checkBuilt=TRUE?> Re-installing R did not correct the situation and similar errors occur in > Studio. This same R version and ggplot2 on Windows 7 did not produce these > error and is why I do not suspect ggplot2. > > Thank you > -- > Paul H. Schlesinger MD, PhD > Washington University School of Medicine > > [[alternative HTML version deleted]]Please read the Posting Guide. You are asked to post questions suspected of being due to Mac-related issues on R-SIG-Mac and you are asked to post in HTNL. You are further asked to post a full description of your setup including output from sessionInfo()> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- David Winsemius Alameda, CA, USA
> On Jan 2, 2016, at 12:04 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > >> On Jan 1, 2016, at 6:54 PM, Paul Schlesinger <phschlesinger at gmail.com> wrote: >> >> Since Apple upgrade to 10.11.2 and the new version ggplot2 running >> library(ggplot2) gives the following >> >> Error in library.dynam(lib, package, package.lib) : >> shared object ?Rcpp.so? not found >> Error: package or namespace load failed for ?ggplot2? > > Do you have Rcpp_0.12.2 installed? > > >> Updating all packages went without errors but did not correct this error. > > If you used `update.packages, did you use checkBuilt=TRUE? > >> Re-installing R did not correct the situation and similar errors occur in >> Studio. This same R version and ggplot2 on Windows 7 did not produce these >> error and is why I do not suspect ggplot2. >> >> Thank you >> -- >> Paul H. Schlesinger MD, PhD >> Washington University School of Medicine >> >> [[alternative HTML version deleted]] > > Please read the Posting Guide. You are asked to post questions suspected of being due to Mac-related issues on R-SIG-Mac and you are asked to post in HTNL.rather ........................., and you are asked NOT to post in HTML.> You are further asked to post a full description of your setup including output from sessionInfo() > >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. > > -- > David Winsemius > Alameda, CA, USA >David Winsemius Alameda, CA, USA
Dear Paul, I haven't seen this error myself, so this may be off-base, but the first thing I'd try (if you haven't already done it) is to (re)install Rcpp directly: install.packages("Rcpp"), possibly using a different CRAN mirror. I hope this helps, John ----------------------------- John Fox, Professor McMaster University Hamilton, Ontario Canada L8S 4M4 Web: socserv.mcmaster.ca/jfox> -----Original Message----- > From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Paul > Schlesinger > Sent: January 1, 2016 9:55 PM > To: r-help at r-project.org > Subject: [R] R under OS X El Capitan 10.11.2 > > Since Apple upgrade to 10.11.2 and the new version ggplot2 running > library(ggplot2) gives the following > > Error in library.dynam(lib, package, package.lib) : > shared object ?Rcpp.so? not found > Error: package or namespace load failed for ?ggplot2? > > Updating all packages went without errors but did not correct this error. > Re-installing R did not correct the situation and similar errors occur in Studio. > This same R version and ggplot2 on Windows 7 did not produce these error and > is why I do not suspect ggplot2. > > Thank you > -- > Paul H. Schlesinger MD, PhD > Washington University School of Medicine > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.
Dear Paul,> -----Original Message----- > From: Paul Schlesinger [mailto:phschlesinger at gmail.com] > Sent: January 2, 2016 9:23 PM > To: Fox, John <jfox at mcmaster.ca> > Subject: Re: [R] R under OS X El Capitan 10.11.2 > > Thanks > > Installing from another mirror corrected the error. This is troubling, how often > have you found a mirror to be unreliable. The mirror that did not work was the > one ant my university. I need to make local inquiries.I haven't experienced this kind of problem myself, but have occasionally noticed that students failed to install a dependency during a package install. The problem can be as simple as a mirror lagging slightly behind CRAN. I'm cc'ing this back to the r-help list where you posted your initial question, so that the solution will be in the list archives. Best, John> > thank you again > Paul > > On Sat, Jan 2, 2016 at 10:25 AM, Fox, John <jfox at mcmaster.ca > <mailto:jfox at mcmaster.ca> > wrote: > > > Dear Paul, > > I haven't seen this error myself, so this may be off-base, but the first > thing I'd try (if you haven't already done it) is to (re)install Rcpp directly: > install.packages("Rcpp"), possibly using a different CRAN mirror. > > I hope this helps, > John > > ----------------------------- > John Fox, Professor > McMaster University > Hamilton, Ontario > Canada L8S 4M4 > Web: socserv.mcmaster.ca/jfox <http://socserv.mcmaster.ca/jfox> > > > > > > -----Original Message----- > > From: R-help [mailto:r-help-bounces at r-project.org <mailto:r-help- > bounces at r-project.org> ] On Behalf Of Paul > > Schlesinger > > Sent: January 1, 2016 9:55 PM > > To: r-help at r-project.org <mailto:r-help at r-project.org> > > Subject: [R] R under OS X El Capitan 10.11.2 > > > > Since Apple upgrade to 10.11.2 and the new version ggplot2 running > > library(ggplot2) gives the following > > > > Error in library.dynam(lib, package, package.lib) : > > shared object ?Rcpp.so? not found > > Error: package or namespace load failed for ?ggplot2? > > > > Updating all packages went without errors but did not correct this > error. > > Re-installing R did not correct the situation and similar errors occur > in Studio. > > This same R version and ggplot2 on Windows 7 did not produce these > error and > > is why I do not suspect ggplot2. > > > > Thank you > > -- > > Paul H. Schlesinger MD, PhD > > Washington University School of Medicine > > > > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > R-help at r-project.org <mailto:R-help at 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. > > > > > > -- > > Paul H. Schlesinger MD, PhD > Washington University School of Medicine
Please use R-SIG-Mac and include important details such as your sessionInfo() as well as how you installed the packages. Also make sure you have re-installed Rcpp and that you don't have an older version on your library path. Cheers, Simon> On Jan 1, 2016, at 9:54 PM, Paul Schlesinger <phschlesinger at gmail.com> wrote: > > Since Apple upgrade to 10.11.2 and the new version ggplot2 running > library(ggplot2) gives the following > > Error in library.dynam(lib, package, package.lib) : > shared object ?Rcpp.so? not found > Error: package or namespace load failed for ?ggplot2? > > Updating all packages went without errors but did not correct this error. > Re-installing R did not correct the situation and similar errors occur in > Studio. This same R version and ggplot2 on Windows 7 did not produce these > error and is why I do not suspect ggplot2. > > Thank you > -- > Paul H. Schlesinger MD, PhD > Washington University School of Medicine > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.