Re: [R] Bagged clustering (package e1071)

About this list Date view Thread view Subject view Author view Attachment view

From: Prof Brian D Ripley (ripley@stats.ox.ac.uk)
Date: Thu 13 Jun 2002 - 01:30:28 EST


Message-id: <Pine.WNT.4.44.0206121627460.3176-100000@petrel>

On Wed, 12 Jun 2002, Aboubakar Maitournam wrote:

> Dear all,
>
> I have a problem with the function "bagged clustering" of package
> e1071.
> When I try to run the example of bagged clustering with the iris data :
>
> data(iris)
> bc1 <- bclust(iris[,1:4], 3, base.centers=5)
>
> I got the following message error :
>
> Loading required package: class
> Committee Member: 1(1) 2(1) 3(1) 4(1) 5(1) 6(1) 7(1) 8(1) 9(1)
> 10(1)Error in bclust(iris[, 1:4], 3, base.centers = 5) :
> couldn't find function "knn1"
> In addition: Warning message:
> There is no package called `class' in: library(package, char = TRUE,
> logical = TRUE, warn.conflicts = warn.conflicts,
>
> I have looked for the package class at CRAN but I have not found it.

It is part of bundle VR and as a recommended package *ought* to be in your
R installation, so please take this up with whoever installed it.

I think bclust should test the return value from require(clust) and fail if
it is FALSE.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:20 EST