[R] Bagged clustering (package e1071)

Friedrich.Leisch@ci.tuwien.ac.at Friedrich.Leisch at ci.tuwien.ac.at
Fri Jun 14 08:29:46 CEST 2002


>>>>> On Wed, 12 Jun 2002 16:30:28 +0100 (GMT Daylight Time),
>>>>> Prof Brian D Ripley (PBDR) wrote:

  > 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.

Yes, fixed for the next release of the package.

Thanks,

-- 
-------------------------------------------------------------------
                        Friedrich Leisch 
Institut für Statistik                     Tel: (+43 1) 58801 10715
Technische Universität Wien                Fax: (+43 1) 58801 10798
Wiedner Hauptstraße 8-10/1071      Friedrich.Leisch at ci.tuwien.ac.at
A-1040 Wien, Austria             http://www.ci.tuwien.ac.at/~leisch
-------------------------------------------------------------------

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list