[R] error with princomp
Bill Venables
Bill.Venables at cmis.csiro.au
Sun May 21 04:30:06 CEST 2000
At 01:08 PM 5/20/00 -0400, Faheem Mitha wrote:
>
>I now have another question. I am trying to use princomp with a data frame
>of size (2061,98) so quite large. I successfully applied princomp in Splus
>to it, but the R version exits with the following incomprehensible error:
>
>Error in if (symmetric) { : missing value where logical needed
>
>if (symmetric) does not appear in the code for princomp so I am flummoxed.
Did traceback() say it came from princomp?
Did you use traceback() at all?
Do you know about traceback()?
Don't worry if the answer to all three questions is a shrug - many users
are like that, but it really is a fundamental tool for errors like this and
I recommend it to all.
traceback() would have told you that the error is not in princomp() but in
eigen(), the workhorse that princomp() uses. That has to be a clue. Have
you looked at the code for eigen()?
Bill Venables.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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