Re: [Rd] RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices

2015-03-20 Thread Heather Turner
We don't use the pattern matrices, nevertheless the proposed changes sound good to me. I particularly like the suggestion to treat the matrices as numeric by default, but provide simple ways to use boolean arithmetic instead - this means that developers have access to both forms of arithmetic and i

Re: [Rd] RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices

2015-03-20 Thread Martin Maechler
> Trevor Hastie > on Thu, 19 Mar 2015 16:03:38 -0700 writes: > Hi Martin > I got stung by this last week. > glmnet produces a coefficient matrix of class “dgCMatrix” > If a predictor matrix was created using sparseMatrix as follows, > one gets unexpected results, a

Re: [Rd] RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices

2015-03-20 Thread Martin Maechler
> "MH" == Michael Hahsler > on Thu, 19 Mar 2015 20:15:37 -0500 writes: MH> Hi Martin, MH> package arules heavily relies on ngCMatrix and uses multiplication and MH> addition for logical operations. I think it makes sense that in a mixed MH> operation with one dgCMatr

Re: [Rd] CRAN binary, but no source

2015-03-20 Thread Prof Brian Ripley
On 19/03/2015 19:26, Duncan Murdoch wrote: On 19/03/2015 2:55 PM, peter dalgaard wrote: > On 19 Mar 2015, at 19:45 , Gábor Csárdi wrote: > > On Thu, Mar 19, 2015 at 2:19 PM, Dan Tenenbaum > wrote: > [...] > >> >> In github? ;-) >> > > Well, that's the thing. If github/cran is a read-only mirro

Re: [Rd] CRAN binary, but no source

2015-03-20 Thread Gábor Csárdi
On Fri, Mar 20, 2015 at 11:03 AM, Prof Brian Ripley wrote: [...] > > Two places to look for such information on CRAN: > > - Where a fair amount of information needs to be given (like exactly which > versions have been removed), there may be a README in the Archive > directory. E.g. http://cran.r-

[Rd] quieting the "apparent S3 methods" warning

2015-03-20 Thread Skye Bender-deMoll
Dear R-devel, Recent versions of R CMD check have been flagging apparent S3 methods that are not registered in the NAMESPACE as such. In most situations this is very helpful. However, I have few cases in existing packages where we have unfortunately named functions using a "." in them that

Re: [Rd] RFC: Matrix package: Matrix products (%*%, crossprod, tcrossprod) involving "nsparseMatrix" aka sparse pattern matrices

2015-03-20 Thread Dr. Peter Ruckdeschel
Hi Martin, many thanks to you and Doug for providing the Matrix package in the first place, and, second, for taking us into this decision. I have only some minor comments to make: + wherever there is a usual function call involved, using an argument "boolean" as you proposed seems perfect to

Re: [Rd] R with Array Hashes

2015-03-20 Thread Jeffrey Horner
On Fri, Mar 6, 2015 at 10:03 AM, Jeffrey Horner wrote: > On Fri, Mar 6, 2015 at 9:36 AM, Dirk Eddelbuettel wrote: [...] >> When you asked about benchmark code on Twitter, I shared the somewhat >> well-known (but no R ...) http://benchmarksgame.alioth.debian.org/ >> Did you write new benchmarks?