I wanted to install the package "gdata". Here are the commands I gave and the responses:
install.packages("gdata") Warning in install.packages("gdata") : argument 'lib' is missing: using '/Users/dbae/Library/R/library' trying URL 'http://cran.uk.r-project.org/bin/macosx/universal/contrib/2.8/gdata_2.4.2.tgz' Content type 'application/x-gzip' length 539288 bytes (526 Kb) opened URL ================================================== downloaded 526 Kb The downloaded packages are in /tmp/RtmpwY5Qor/downloaded_packages > library(gdata) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/Users/dbae/Library/R/library/gtools/libs/ppc/gtools.so': dlopen(/Users/dbae/Library/R/library/gtools/libs/ppc/gtools.so, 6): Library not loaded: /Library/Frameworks/R.framework/Versions/2.7/Resources/lib/libR.dylib Referenced from: /Users/dbae/Library/R/library/gtools/libs/ppc/gtools.so Reason: image not found Error: package/namespace load failed for 'gdata' I took a look in /Library/Frameworks/R.framework/Versions/2.7/Resources/ and, indeed, there was a directory "library" but no directory "lib". The file /Library/Frameworks/R.framework/Versions/2.8/Resources/lib/libR.dylib is present, but apparently that's not good enough. Any ideas on how I can make this work? I am running R 2.8.0 GUI 1.26 (5256) under MacOsX 10.4.11 on a G4 PPC machine. Thanks for any help. David -- View this message in context: http://www.nabble.com/library%28gdata%29-fails-tp20343452p20343452.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.