[R] Problem with the cluster package

Martin Maechler maechler at stat.math.ethz.ch
Tue Apr 25 14:07:25 CEST 2006


>>>>> "Rouyer" == Rouyer Tristan <tristan.rouyer at ifremer.fr>
>>>>>     on Mon, 24 Apr 2006 16:29:27 +0200 writes:

    Rouyer> Hi everybody, I want to use the cluster package
    Rouyer> (Cluster Analysis Extended Rousseeuw et al.). I
    Rouyer> downloaded it from the CRAN and installed it on my
    Rouyer> linux system (fedora core 4). 

Why that ???
As 'Recommended package',  it is part of R, so you already it
with your version of R [which you didn't tell us].

If possible, get R 2.3.0 (released yesterday) and you get the
latest version of 'cluster' working well.

Alternatively, in an older version of R,
use  
     update.packages()
or   install.packages("cluster")

    Rouyer> All seemed to be allright.  But when trying to
    Rouyer> launch examples, I obtained the following message :

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

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

    Rouyer> Is my problem related to the fortran compiler ?

probably.

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

These questions now belong to R-devel, not R-help, and
definitely need more details about what you have and what
exactly you did, etc.

Martin Maechler, ETH Zurich




More information about the R-help mailing list