[R] Problem with MCLUST

Prof Brian D Ripley ripley at stats.ox.ac.uk
Sun May 21 17:10:35 CEST 2000


On Sun, 21 May 2000, Mark Hall wrote:

> I'm using R 1.0.0 on both a machine running Win95 and another machine
> running Win98.  I'm using the mclust function emclust and creating a bic
> values file for my data.  the strange part is, I keep getting the error
> message, "Error in summary.emclust (file info) : subscript out of
> bounds."
> 
> Thinking it was my data, I used the iris data and the commands from
> the help manual and my error message was:
> 
> Error in summary.emclust (iris.bic,iris [,1;4]): subscript out of bounds
> 
> Any tips, suggestions, etc?

Please report problems with addon packages to the porter or author,
in this case  Ron Wehrens <rwehrens at sci.kun.nl>.  It is also
very helpful to say that you are using an add-on package and to give
its version number.

For what it is worth, example(summary.emclust) works for me with rw1001.
I strongly recommend your first step is to upgrade to the current
version of R, for one of the bug fixes was

    o   x <- list(a=1, b=2) ; x["c"] <- 3 now (again) stretches the list
        rather than give a "subscript out of bounds" error.


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



More information about the R-help mailing list