Skip to content

no stats library with R2.6.0

3 messages · John Vokey, Simon Urbanek

#
Installation of standard binaries of R2.6.0 from CRAN fails to  
install (or at least find) the main stats library:


Error in dyn.load(file, ...) :
   unable to load shared library '/Library/Frameworks/R.framework/ 
Versions/2.6/Resources/library/stats/libs/ppc/stats.so':
   dlopen(/Library/Frameworks/R.framework/Versions/2.6/Resources/ 
library/stats/libs/ppc/stats.so, 6): Library not loaded: /usr/local/ 
lib/libgfortran.2.dylib
   Referenced from: /Library/Frameworks/R.framework/Versions/2.6/ 
Resources/library/stats/libs/ppc/stats.so
   Reason: image not found
During startup - Warning message:
package stats in options("defaultPackages") was not found

On a dual PPC G5, OS X 10.4.10

-John R. Vokey
#
John,

there seems to be a problem with the paths in the PowerPC part of the  
binary, I'll look into this.
In the meantime the work-around is to install the full R (including  
GNU Fortran), not just the mini package.

Cheers,
Simon
On Oct 5, 2007, at 4:03 PM, John Vokey wrote:

            
#
Problem found (it was really just the stats.so for PowerPC machines)  
and fixed (please test the pre-releases!). The CRAN binary was  
updated (check the MD5 sum to see if you have the correct one, it  
should be ff218b4e5687077c0078ca4948be1205) and should propagate to  
all mirrors tomorrow.

Again, a hotfix in the meantime is to make sure that you have GNU  
Fortran installed - either from the full R release or from
http://cran.r-project.org/bin/macosx/tools/

Cheers,
Simon
On Oct 5, 2007, at 8:01 PM, Simon Urbanek wrote: