From ghuang at stat.nctu.edu.tw  Wed May  3 04:24:55 2006
From: ghuang at stat.nctu.edu.tw (ghuang at stat.nctu.edu.tw)
Date: Wed,  3 May 2006 04:24:55 +0200 (CEST)
Subject: [Rd] cannot use fanny in package cluster (PR#8830)
Message-ID: <20060503022455.7A304F8F8@slim.kubism.ku.dk>

Full_Name: Guan-Hua Huang
Version: 2.0.1
OS: Linux
Submission from: (NULL) (140.113.114.123)


I install the package cluster by using install.packages("cluster"). After
install it, it runs fine for function clara, but it does not work for function
fanny. I did the following things:

library(cluster)
set.seed(21)
x <- rbind(cbind(rnorm(10, 0, 0.5), rnorm(10, 0, 0.5)),
           cbind(rnorm(15, 5, 0.5), rnorm(15, 5, 0.5)),
           cbind(rnorm( 3,3.2,0.5), rnorm( 3,3.2,0.5)))
.proctime00 <- proc.time()
(fannyx <- fanny(x, 2))

and got the following messages:

Error in .Fortran("fanny", as.integer(n), as.integer(jp), k, x2, dis = dv, ;
Fortran function name not in DLL for package cluster

Any help.

Guan-Hua



[Rd] cannot use fanny in package cluster (PR#8830)
ghuang at stat.nctu.edu.tw