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 at 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 at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._