[Rd] cannot use fanny in package cluster (PR#8830)

ghuang at stat.nctu.edu.tw ghuang at stat.nctu.edu.tw
Wed May 3 04:24:55 CEST 2006


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



More information about the R-devel mailing list