[R] Problem with the cluster package

Rouyer Tristan tristan.rouyer at ifremer.fr
Mon Apr 24 16:29:27 CEST 2006

Hi everybody,

I want to use the cluster package (Cluster Analysis Extended Rousseeuw et 
al.). I downloaded it from the CRAN and installed it on my linux system 
(fedora core 4). All seemed to be allright.
But when trying to launch examples, I obtained the following message :

> library(cluster)
> data(votes.repub)
>      agn1 <- agnes(votes.repub, metric = "manhattan", stand = TRUE)
Error in .Fortran("twins", as.integer(n), as.integer(jp), x2, dv, dis = 
double(if (keep.diss) length(dv) else 1),  :
        Fortran entry point "twins_" not in DLL for package "cluster"

When installing the package, I saw that gfortran compiler was used. And in the 
manuel pages it is specified that gfortran has problems with entry, 

Is my problem related to the fortran compiler ? Shall I to use another fortran 
compiler ? If so, which one ?
Does anybody have encountered the same problem ?

Thanks in advance

Tristan Rouyer
04 99 57 32 09
IFREMER - Centre de Recherche Halieutique Méditerranéen et Tropical
Avenue Jean Monnet - BP 171 - 34203 Sète cedex - France

More information about the R-help mailing list