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

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

[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