Re: [Rd] bug in princomp example (PR#14167)

2009-12-24 Thread Peter Ehlers
twoutop...@gmail.com wrote: When I run example(princomp) I get the following error message: prncmp> ## The variances of the variables in the prncmp> ## USArrests data vary by orders of magnitude, so scaling is appropriate prncmp> (pc.cr <- princomp(USArrests)) # inappropriate Error in cov.wt

[Rd] bug in princomp example (PR#14167)

2009-12-24 Thread twoutopias
When I run example(princomp) I get the following error message: prncmp> ## The variances of the variables in the prncmp> ## USArrests data vary by orders of magnitude, so scaling is appropriate prncmp> (pc.cr <- princomp(USArrests)) # inappropriate Error in cov.wt(z) : 'x' must contain finite v