[Rd] On WinXP, R CMD config needs sh (and breaks without it) (PR#11484)

2008-05-18 Thread lgautier
Full_Name: Laurent Gautier Version: R-2.7.0patched (r45712) OS: WinXP Submission from: (NULL) (90.15.141.247) On a WinXP box (that does not has "sh" in the %Path%, R CMD config appears to break: C:\>R CMD config 'sh' is not recognized as an internal or external command, operable program or batc

Re: [Rd] (PR#11484) On WinXP, R CMD config needs sh (and breaks

2008-05-18 Thread ripley
Where is the bug here? It also does on a Unix-alike. Anything involving R CMD potentially needs the Rtools set in the path. R CMD config is primarily intended to be used in configure scripts in packages. On Sun, 18 May 2008, [EMAIL PROTECTED] wrote: > Full_Name: Laurent Gautier > Version: R

[Rd] predict.prcomp: wrong check for matrix dimensions (PR#11482)

2008-05-18 Thread gabraham
Full_Name: Gad Abraham Version: 2.7.0 OS: Ubuntu Linux Submission from: (NULL) (59.167.148.182) Description: > x1 <- matrix(rnorm(100), 5, 20) > x2 <- matrix(rnorm(100), 5, 20) > p <- prcomp(x1) > predict(p, x2) Error in predict.prcomp(p, x2) : 'newdata' does not have the correct