From sdavis2 at mail.nih.gov  Thu Apr 19 12:08:25 2007
From: sdavis2 at mail.nih.gov (Sean Davis)
Date: Thu, 19 Apr 2007 06:08:25 -0400
Subject: [Rd] [R] Error loading libraries in MAC
In-Reply-To: <5CCD3B76-5831-47AE-BAF4-1D1D72AF3F24@mac.com>
References: <07A9CBD0-C0BF-4017-A56D-63DEDB90B55A@mail.rockefeller.edu>
	<5CCD3B76-5831-47AE-BAF4-1D1D72AF3F24@mac.com>
Message-ID: <200704190608.25274.sdavis2@mail.nih.gov>

I'll chime in to note the same.  And just to add, sometimes restarting R seems 
to alleviate the problem....

On Wednesday 18 April 2007 18:58, Gregory Warnes wrote:
> I have received a number of reports of problems with recent unversal
> Mac packages from CRAN when used with R 2.4.1.  Has something in the
> build script changed?
>
> -G
>
> On Apr 18, 2007, at 4:49PM , Mayte Suarez-Farinas wrote:
> > Hi I just installed the gmodels package
> > and the installation was successful but when I was trying to load the
> > library I got an error (see below).
> > Interesting, yesterday I wrote to the maintainer of RSQLite apckage
> > because I got the same error.
> > Does somebody knows what is going on ??
> >
> > thanks,
> > Mayte
> >
> >
> > library(gmodels)
> > Error in dyn.load(x, as.logical(local), as.logical(now)) :
> > 	unable to load shared library '/Library/Frameworks/R.framework/
> > Versions/2.4/Resources/library/gtools/libs/i386/gtools.so':
> >    dlopen(/Library/Frameworks/R.framework/Versions/2.4/Resources/
> > library/gtools/libs/i386/gtools.so, 6): Library not loaded: /usr/
> > local/gcc4.0/i686-apple-darwin8/lib/libgcc_s.1.0.dylib
> >    Referenced from: /Library/Frameworks/R.framework/Versions/2.4/
> > Resources/library/gtools/libs/i386/gtools.so
> >    Reason: image not found
> > Error: package/namespace load failed for 'gmodels'
> >
> > R.Version()
> > $platform
> > [1] "i386-apple-darwin8.8.1"
> >
> > $arch
> > [1] "i386"
> >
> > $os
> > [1] "darwin8.8.1"
> >
> > $system
> > [1] "i386, darwin8.8.1"
> >
> > $status
> > [1] ""
> >
> > $major
> > [1] "2"
> >
> > $minor
> > [1] "4.1"
> >
> > $year
> > [1] "2006"
> >
> > $month
> > [1] "12"
> >
> > $day
> > [1] "18"
> >
> > $`svn rev`
> > [1] "40228"
> >
> > $language
> > [1] "R"
> >
> > $version.string
> > [1] "R version 2.4.1 (2006-12-18)"
> >
> >
> >
> > ______________________________________________
> > R-help at stat.math.ethz.ch mailing list
> > 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.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] [R] Error loading libraries in MAC
Sean Davis