[R] cannot use fanny in package cluster

Uwe Ligges ligges at statistik.uni-dortmund.de
Wed May 3 08:36:43 CEST 2006


Guan-Hua Huang wrote:

> 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

Probably the package maintainer forgot to add the dependency on a more 
recent R version to the package's DESCRIPTION.

Much more relevant: You forgot to upgrade your outdated version of R - 
we have R-2.3.0 these days!

Uwe Ligges




> Any help. 
> 
> Guan-Hua
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list