From gregory.warnes at mac.com  Thu Apr 19 00:58:04 2007
From: gregory.warnes at mac.com (Gregory Warnes)
Date: Wed, 18 Apr 2007 18:58:04 -0400
Subject: [Rd] [R] Error loading libraries in MAC
In-Reply-To: <07A9CBD0-C0BF-4017-A56D-63DEDB90B55A@mail.rockefeller.edu>
References: <07A9CBD0-C0BF-4017-A56D-63DEDB90B55A@mail.rockefeller.edu>
Message-ID: <5CCD3B76-5831-47AE-BAF4-1D1D72AF3F24@mac.com>

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.



[Rd] [R] Error loading libraries in MAC
Gregory Warnes