Skip to content

Problem with MCLUST

5 messages · Mark Hall, Uwe Ligges, Brian Ripley +1 more

#
Hi,

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?

Thanks in advance, Mark Hall




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Mark Hall wrote:
Running the example from documentation to emclust() works on:
NT4.0, R-1.0.1, mclust Version 1.0-1

Do you have installed the mclust package Version 1.0-1 ?
Try to start R with --vanilla option and then test again, maybe
something goes wrong with your workspace.

You should upgrade to R-1.0.1 (there is an important bugfix for the
windows version).

Regards,
Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
On Sun, 21 May 2000, Mark Hall wrote:

            
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.
#
Mark Hall <markhall at gol.com> writes:
Did you mean to use the semicolon? should be 1:4 , however I thought
this would have responded with a syntax error. 

Cheers
Ross Darnell
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
#
Upgrading to rw1001 took care of the problem.

Thanks, Mark Hall
Prof Brian D Ripley wrote:

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