[Rd] qr.qy and qr.qty give an error message when y is integer and LAPACK=TRUE

2012-12-03 Thread Berend Hasselman
With this example set.seed(123) A <- matrix(runif(40), nrow = 8) y <- 1:nrow(A) A.laqr <- qr(A, LAPACK=TRUE) both qr.qy(A.laqr,y) and qr.qty(A.laqr,y) give the respective error messages Error in qr.qy(A.laqr, y) : 'b' must be a numeric matrix Error in qr.qty(A.laqr, y) : 'b' must be a nume

Re: [Rd] qr.qy and qr.qty give an error message when y is integer and LAPACK=TRUE

2012-12-03 Thread Martin Maechler
> Berend Hasselman > on Mon, 3 Dec 2012 15:25:21 +0100 writes: > With this example > set.seed(123) A <- matrix(runif(40), nrow = 8) y <- > 1:nrow(A) > A.laqr <- qr(A, LAPACK=TRUE) > both qr.qy(A.laqr,y) and qr.qty(A.laqr,y) give the > respective error messag

Re: [Rd] qr.qy and qr.qty give an error message when y is integer and LAPACK=TRUE

2012-12-03 Thread Berend Hasselman
On 03-12-2012, at 16:17, Martin Maechler wrote: >> Berend Hasselman >>on Mon, 3 Dec 2012 15:25:21 +0100 writes: > >> With this example > >> set.seed(123) A <- matrix(runif(40), nrow = 8) y <- >> 1:nrow(A) > >> A.laqr <- qr(A, LAPACK=TRUE) > >> both qr.qy(A.laqr,y) and qr.qty(A.la

[Rd] Compilation failure on Solaris: any advice?

2012-12-03 Thread Jon Clayden
Dear all, The current version of my RNiftyReg package is failing to compile on CRAN's Solaris testbed, but I don't have access to a Solaris system to debug on, and Googling the error hasn't been very helpful. The error is CC -library=stlport4 -I/home/ripley/R/cc/include -DNDEBUG -DNDEBUG -DRNIFTY

[Rd] Documentation on making R code faster?

2012-12-03 Thread Spencer Graves
Hello: Is there a standard reference on how to improve the speed of R code? A recent R-help post asked about "using multicores in R" (see my reply below). It seems to me that there should be a comprehensive answer somewhere, but I couldn't find one. It looks like there might b