[R] cannot use fanny in package cluster

Guan-Hua Huang ghuang at stat.nctu.edu.tw
Wed May 3 06:29:38 CEST 2006


Dear All, 

My R version: 2.0.1 ;  OS using:  Linux. 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-help mailing list