Problem loading libraries in 2.5
On Aug 6, 2007, at 3:14 PM, Joseph Retzer wrote:
Hi All, I think someone said this was fixed but I seem to still be having the same problems loading packages into R 2.5 on the Mac. I updated all packages and re-installed the latest build from http:// r.research.att.com. My error messages and version information are below. Have I missed something?
I cannot reproduce it with the CRAN release of R and packages. Maybe the CRAN mirror you're using is broken? Anyway, a fix is always to install the gfortran that comes with R (or you can get it separately from the "tools" directory on CRAN). Cheers, Simon
library(cluster)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Versions/2.5/Resources/library/cluster/libs/i386/cluster.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.5/Resources/
library/cluster/libs/i386/cluster.so, 6): Library not loaded: /usr/
local/lib/libgfortran.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.5/
Resources/library/cluster/libs/i386/cluster.so
Reason: image not found
Error: package/namespace load failed for 'cluster'
library(doBy)
Loading required package: Hmisc
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library '/Library/Frameworks/R.framework/
Versions/2.5/Resources/library/cluster/libs/i386/cluster.so':
dlopen(/Library/Frameworks/R.framework/Versions/2.5/Resources/
library/cluster/libs/i386/cluster.so, 6): Library not loaded: /usr/
local/lib/libgfortran.2.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/2.5/
Resources/library/cluster/libs/i386/cluster.so
Reason: image not found
Error: package 'Hmisc' could not be loaded
R.Version()
$platform [1] "i386-apple-darwin8.10.1" $arch [1] "i386" $os [1] "darwin8.10.1" $system [1] "i386, darwin8.10.1" $status [1] "Patched" $major [1] "2" $minor [1] "5.1" $year [1] "2007" $month [1] "08" $day [1] "02" $`svn rev` [1] "42432" $language [1] "R" $version.string [1] "R version 2.5.1 Patched (2007-08-02 r42432)"
[[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