Displaying 4 results from an estimated 4 matches for "selectsuperclasses".
2016 Nov 26
0
methods:::.selectSuperClasses and byte compilation
...stem.time(replicate(100,Matrix::crossprod(someMatrix))) ## slow !
compiler::enableJIT(0)
system.time(replicate(100,Matrix::crossprod(someMatrix))) ## fast
==================================
By tracing compiler::cmpfun, I found that the reason may be that
invoking Matrix::crossprod calls methods:::.selectSuperClasses which
creates and runs the following function
function (exti) {!isVirtualExt(exti) && length(exti at by) == 0 && exti at simple}
and thus that this function is byte-compiled each time Matrix::crossprod
is called.
Is there a straightforward way for users / R package writers to avo...
2019 Sep 27
0
missing imports not detected by 'R CMD check' (?)
...things we call,.. necessary when Matrix is loaded, but not attached, as in
> ## Rscript --vanilla -e 'require(methods);(M <- Matrix::Matrix(0:1,3,3)); as(M,"sparseMatrix")'
> , as, is, extends, new
> , callGeneric, callNextMethod
> , .selectSuperClasses, .slotNames, canCoerce, packageSlot
> , getClass, getClassDef, validObject
> , setClass, setClassUnion, setMethod, setOldClass
> , setValidity, slot, "slot<-", slotNames, .hasSlot
> , signature, representation, prototype)
> I see tha...
2009 Apr 17
0
R 2.9.0 is released
...ions(antialias = "none") now works, for consistency with
X11().
o sprintf() now allows zero-length arguments (with a zero-length
result). (Suggestion of Bill Dunlap.)
o unlink() is now able to remove broken symbolic links on
Unix-alikes.
o New selectSuperClasses() utility.
o HoltWinters() now allows parameters alpha and beta to be fixed
at 0 and hence beta = FALSE and gamma = FALSE are used to
specify restricted models.
o A new function smoothScatter has been added to package
'graphics'. It is appropriate for...
2009 Apr 17
0
R 2.9.0 is released
...ions(antialias = "none") now works, for consistency with
X11().
o sprintf() now allows zero-length arguments (with a zero-length
result). (Suggestion of Bill Dunlap.)
o unlink() is now able to remove broken symbolic links on
Unix-alikes.
o New selectSuperClasses() utility.
o HoltWinters() now allows parameters alpha and beta to be fixed
at 0 and hence beta = FALSE and gamma = FALSE are used to
specify restricted models.
o A new function smoothScatter has been added to package
'graphics'. It is appropriate for...