Dear All, I, unkowingly, posted the following message to R-devel mailing list. Please let me know if there is any quick solution to the following. I just installed the latest version of R 2.5.0 on my mac book pro. I am having a lot of difficulty with installing R packages. Below I provide a specific example and the error messages I get from R. ************* When I try to install a package called lmm (which was installed with no problem with the previous versions of R), I get the following messages, specifically on the make, chmod, etc. ************************************* trying URL 'http://cran.us.r-project.org/src/contrib/lmm_0.3-4.tar.gz' Content type 'application/x-tar' length 31471 bytes opened URL ================================================== downloaded 30Kb WARNING: ignoring environment value of R_HOME tar: Read 4096 bytes from - * Installing *source* package 'lmm' ... ** libs ** arch - i386 gfortran-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -g -O2 -march=nocona -c lmm.f -o lmm.o gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o lmm.so lmm.o -L/usr/local/lib/gcc/i686-apple-darwin8/4.2.0 -lgfortran -lgcc_s.10.4 -F/Library/Frameworks/R.framework/.. -framework R /usr/bin/libtool: for architecture cputype (16777223) cpusubtype (3) object: /usr/local/lib/libgfortran.dylib malformed object (unknown load command 4) /usr/bin/libtool: for architecture cputype (16777223) cpusubtype (3) object: /usr/local/lib/libgcc_s.10.4.dylib malformed object (unknown load command 4) ** arch - ppc gfortran-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fPIC -g -O2 -c lmm.f -o lmm.o make: *** [lmm.so] Error 1 chmod: /Library/Frameworks/R.framework/Versions/2.5/Resources/library/lmm/libs/i386/*: No such file or directory gcc-4.0 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -std=gnu99 -dynamiclib -Wl,-macosx_version_min -Wl,10.3 -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o lmm.so lmm.o -L/usr/local/lib/gcc/powerpc-apple-darwin8/4.2.0 -lgfortran -lgcc_s.10.4 -lSystemStubs -F/Library/Frameworks/R.framework/.. -framework R The downloaded packages are in /private/tmp/Rtmpe4c9Of/downloaded_packages ** Removing '/Library/Frameworks/R.framework/Versions/2.5/Resources/library/lmm' ** Restoring previous '/Library/Frameworks/R.framework/Versions/2.5/Resources/library/lmm' /usr/bin/libtool: for architecture cputype (16777223) cpusubtype (3) object: /usr/local/lib/libgfortran.dylib malformed object (unknown load command 4) /usr/bin/libtool: for architecture cputype (16777223) cpusubtype (3) object: /usr/local/lib/libgcc_s.10.4.dylib malformed object (unknown load command 4) make: *** [lmm.so] Error 1 chmod: /Library/Frameworks/R.framework/Versions/2.5/Resources/library/lmm/libs/ppc/*: No such file or directory ERROR: compilation failed for package 'lmm' ************************************* -------------- next part -------------- An embedded message was scrubbed... From: Recai Yucel <yucel at schoolph.umass.edu> Subject: Re: [Rd] R 2.5.0 MAC OS X version Date: Wed, 30 May 2007 10:44:53 -0400 Size: 7741 Url: https://stat.ethz.ch/pipermail/r-sig-mac/attachments/20070530/1bccd794/attachment-0001.mht
[Fwd: Re: [Rd] R 2.5.0 MAC OS X version]
1 message · Recai Yucel