[Rd] segfault in plot(x, y, col = aFactor) (PR#9221)

2006-09-12 Thread bhx5
After the following commands (issued just after starting R) set.seed(1) n <- 600 x <- rnorm(n) y <- rnorm(n) aFactor <- factor(rep(1:5, length = n)) plot(x, y, col = aFactor) R prints *** caught segfault *** address 0x10, cause 'memory not mapped' Segmentation fault and dies. (Yes, I know tha

[Rd] pr[in]comp: predict single observation when data has colnames (PR#8324)

2005-11-18 Thread bhx5
To my knowledge, this has not been reported previously, and doesn't seem to have been changed in R-devel or R-patched. If M is a matrix with coloumn names, and mod <- prcomp(M) # or princomp then predicting a single observation (row) with predict() gives the error Error in scale.default(newdat