Tae-Hoon Chung
2005-Jan-06 09:20 UTC
[R] Segmentation fault while using Mclust function of mclust library in R-2.0.1
Hi, all; I got an unusual error while using mclust library 2.1-7 on R 2.0.1. When I tried to run Mclust(rnorm(100)), I got segmentation fault error. Does anyone know what causes this problem? I came across the same problem even when I tried to run the example shown in Mclust help using iris data. Thanks in advance, Tae-Hoon Chung -------------------------------------------------- Tae-Hoon Chung Post-Doctoral Researcher Translational Genomics Research Institute (TGen) 445 N. 5th Street (Suite 530) Phoenix, AZ 85004 1-602-343-8724 (Direct) 1-480-323-9820 (Mobile) 1-602-343-8840 (Fax)
Uwe Ligges
2005-Jan-06 09:36 UTC
[R] Segmentation fault while using Mclust function of mclust library in R-2.0.1
Tae-Hoon Chung wrote:> Hi, all; > > I got an unusual error while using mclust library 2.1-7 on R 2.0.1. > When I tried to run Mclust(rnorm(100)), I got segmentation fault error. > Does anyone know what causes this problem? > I came across the same problem even when I tried to run the example shown in > Mclust help using iris data.Which OS? Have you (re)compiled the package yourself under R-2.0.1? You might want to report a reproducible example (e.g. setting the seed in the example above) to the package maintainer, including the relevant information (including compiler and their versions). Uwe Ligges> Thanks in advance, > Tae-Hoon Chung > -------------------------------------------------- > Tae-Hoon Chung > Post-Doctoral Researcher > Translational Genomics Research Institute (TGen) > 445 N. 5th Street (Suite 530) > Phoenix, AZ 85004 > 1-602-343-8724 (Direct) > 1-480-323-9820 (Mobile) > 1-602-343-8840 (Fax) > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Tim F Liao
2005-Jan-06 15:15 UTC
[R] Segmentation fault while using Mclust function of mclust library in R-2.0.1
Tae-Hoon, Your code worked with version 1.90:> Mclust(rnorm(100))best model: univariate normal with 1 groups averge/median classification uncertainty: 0 / 0 Warning message: optimal number of clusters occurs at min choice in: Mclust (rnorm(100)) The warning should be there because the data you generated have only one cluster. I'm fairly certain it would work with R version 2.0 as well which is what I have on my home computer and I used Mclust for one-dimensional data last month with that version. If it's a problem with the latest version, you can simply download an earlier version of R (yesterday there was a thread about where to find version 1.91 or something like it) and run Mclust with that version. Tim Liao Professor of Sociology & Statistics University of Illinois ---- Original message ---->Date: Thu, 06 Jan 2005 02:20:15 -0700 >From: Tae-Hoon Chung <thchung at tgen.org> >Subject: [R] Segmentation fault while using Mclust functionof mclust library in R-2.0.1>To: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch> > >Hi, all; > >I got an unusual error while using mclust library 2.1-7 onR 2.0.1.>When I tried to run Mclust(rnorm(100)), I got segmentationfault error.>Does anyone know what causes this problem? >I came across the same problem even when I tried to run theexample shown in>Mclust help using iris data. > >Thanks in advance, >Tae-Hoon Chung >-------------------------------------------------- >Tae-Hoon Chung >Post-Doctoral Researcher >Translational Genomics Research Institute (TGen) >445 N. 5th Street (Suite 530) >Phoenix, AZ 85004 >1-602-343-8724 (Direct) >1-480-323-9820 (Mobile) >1-602-343-8840 (Fax) > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://stat.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html