[R] prcomp help

Uwe Ligges ligges at statistik.uni-dortmund.de
Sun May 30 22:01:58 CEST 2004


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




More information about the R-help mailing list