[R-SIG-Mac] loading Hmisc

A. Sancetta as457 at cam.ac.uk
Sat Jul 28 22:19:50 CEST 2007


I have actually solved my problem: I had not installed the fortran package 
that comes with the installation of R 2.5.1. Apologies for the 
inconvenience.

Best regards,
Alessio Sancetta

---------- Forwarded message ----------
From: "A. Sancetta" <as457 at cam.ac.uk>
To: r-sig-mac at stat.math.ethz.ch
Subject: loading Hmisc
Date: 28 Jul 2007 16:06:25 +0100

Hi, 

I have downloaded R 2.5.1. I have installed the packages "Hmisc" and "its" 
using package installer (install location : at system level and then I also 
did i as defined by .libPaths(); I guess it is the same(?)). Typing 
library() shows that the packages have been installed. I then type 
library(Hmisc) and get the following output:

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 'Hmisc'
 
When I type library(its) i get the same output (I guess the problem is 
related to Hmisc)

For the sake of comparison I installed the package boot and loaded it 
without problems.

I am new to Mac (I have tiger version) and R as well, but the problem seems 
with R. I hope you can help me. Best regards, Alessio Sancetta



More information about the R-SIG-Mac mailing list