[R-SIG-Mac] Problem with PPC packages on Intel Mac
Simon Urbanek
simon.urbanek at r-project.org
Thu Nov 30 16:21:51 CET 2006
Michael,
you seem to have a wild mix of packages (old R version and wrong
architecture). I would strongly recommend you to delete ~/Library/R/
library, e.g. type
rm -rf ~/Library/R/library
in Terminal and re-install packages that you use. Your custom library
path shadows system packages, so even if you re-install them system-
wide, you will still pick up your old packages that break. When using
custom library path be aware that you don't have the versioning
safety you have with system libraries (see Mac FAQ). You can change
this in the Preferences, too.
Cheers,
Simon
On Nov 30, 2006, at 5:19 AM, Michael Hopkins wrote:
>
>
> Hi all
>
> I have recently moved to an Intel Mac and installed the latest R
> (2.4.0) but
> I am having trouble with a number of packages. When I try to load
> them I
> often get the following message:
>
> Error: package 'pspline' was built for powerpc-apple-darwin6.8
>
> I have tried to update all the packages I use with Package Manager
> but this
> doesn't appear to help.
>
> Is there some way of either updating packages so that they are all
> Intel
> native or otherwise (presumably if there isn't an Intel native binary
> available) allowing PPC-only packages to run under Rosetta emulation?
>
> A less common error message goes like this:
>
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to
> load shared library
> '/Users/mwh/Library/R/library/mvtnorm/libs/i386/mvtnorm.so':
> dlopen(/Users/mwh/Library/R/library/mvtnorm/libs/i386/
> mvtnorm.so, 6):
> Library not loaded:
> /Library/Frameworks/R.framework/Versions/2.3/Resources/lib/
> libgfortran.0.dyl
> ib
> Referenced from:
> /Users/mwh/Library/R/library/mvtnorm/libs/i386/mvtnorm.so
> Reason: image not found
>
> Maybe my library paths or preferences are messed up somehow? I'm
> not sure
> how to check this much less rectify it.
>
> Thanks in advance for any advice
>
> Michael
>
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/_/_/_/
>
> _/ _/ _/_/_/ Hopkins Research Ltd
> _/ _/ _/ _/
> _/_/_/_/ _/_/_/ http://www.hopkins-research.com/
> _/ _/ _/ _/
> _/ _/ _/ _/ 'touch the future'
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/_/_/_/
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>
>
More information about the R-SIG-Mac
mailing list