Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM example(prcomp) never finishes> example(prcomp)prcomp> data(USArrests) prcomp> prcomp(USArrests) === The following test also appears to hang.> a<-matrix(rnorm(100,mean=32,sd=31),10,10) > b<-prcomp(a)=== What is the recommended debug approach? Thank you.
Al Piszcz wrote:> > Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM > > example(prcomp) never finishes > > >> example(prcomp) > > > prcomp> data(USArrests) > > prcomp> prcomp(USArrests) > > > ===> > The following test also appears to hang. > >> a<-matrix(rnorm(100,mean=32,sd=31),10,10) >> b<-prcomp(a)Works on Windows and several other OSs. Do you have a local copy of prcomp() (which is different from the original one)? What happens if you start R with --vanilla and try again? What happened after make check during your R installation? make check should have reported an error here (or hang itself).... Uwe Ligges> > > > ===> > What is the recommended debug approach? > > Thank you. > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html
I am pretty sure it is something to do with my local installation. I have R running on 6 other systems with no proble.s 1] R --vanilla (same bevhavior, does not finish) 2] I will reinstall and report back shortly if there is still an issue. Thank you. On Sun, 30 May 2004, Uwe Ligges wrote:> Date: Sun, 30 May 2004 22:01:58 +0200 > From: Uwe Ligges <ligges at statistik.uni-dortmund.de> > To: Al Piszcz <apiszcz at solarrain.com> > Cc: r-help at stat.math.ethz.ch > Subject: Re: [R] prcomp help > > Al Piszcz wrote: >> >> Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM >> >> example(prcomp) never finishes >> >> >>> example(prcomp) >> >> >> prcomp> data(USArrests) >> >> prcomp> prcomp(USArrests) >> >> >> ===>> >> The following test also appears to hang. >> >>> a<-matrix(rnorm(100,mean=32,sd=31),10,10) >>> b<-prcomp(a) > > Works on Windows and several other OSs. > > Do you have a local copy of prcomp() (which is different from the original > one)? > > What happens if you start R with --vanilla and try again? > > What happened after > make check > during your R installation? make check should have reported an error here (or > hang itself).... > > Uwe Ligges > > > > >> >> >> >> ===>> >> What is the recommended debug approach? >> >> Thank you. >> >> ______________________________________________ >> R-help at stat.math.ethz.ch mailing list >> https://www.stat.math.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide! >> http://www.R-project.org/posting-guide.html >
I downloaded and built the development version of R dated 30 May. make check, and prcomp were successful. On Sun, 30 May 2004, Uwe Ligges wrote:> Date: Sun, 30 May 2004 22:01:58 +0200 > From: Uwe Ligges <ligges at statistik.uni-dortmund.de> > To: Al Piszcz <apiszcz at solarrain.com> > Cc: r-help at stat.math.ethz.ch > Subject: Re: [R] prcomp help > > Al Piszcz wrote: >> >> Slackware 9.1, R 1.9.0, 2.54GHZ P4, 2GB RAM >> >> example(prcomp) never finishes >> >> >>> example(prcomp) >> >> >> prcomp> data(USArrests) >> >> prcomp> prcomp(USArrests) >> >> >> ===>> >> The following test also appears to hang. >> >>> a<-matrix(rnorm(100,mean=32,sd=31),10,10) >>> b<-prcomp(a) > > Works on Windows and several other OSs. > > Do you have a local copy of prcomp() (which is different from the original > one)? > > What happens if you start R with --vanilla and try again? > > What happened after > make check > during your R installation? make check should have reported an error here (or > hang itself).... > > Uwe Ligges > > > > >> >> >> >> ===>> >> What is the recommended debug approach? >> >> Thank you. >> >> ______________________________________________ >> R-help at stat.math.ethz.ch mailing list >> https://www.stat.math.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide! >> http://www.R-project.org/posting-guide.html >