search for: hasslot

Displaying 5 results from an estimated 5 matches for "hasslot".

2004 Jul 21
1
dumpClass, hasSlot in R?
Venables and Ripley (2000) R Programming (Springer, sec. 5.1) and Chambers (1998) Programming with Data (Springer) describe functions such as dumpClass and hasSlot that I can not find in R 1.9.1 for Windows nor in the "R site search". What do people use for similar functionality? Also, what resources have people found useful for learning about S4 classes, other than these 2 references? Thanks, Spencer Graves
2019 Sep 27
0
missing imports not detected by 'R CMD check' (?)
...gt; , callGeneric, callNextMethod > , .selectSuperClasses, .slotNames, canCoerce, packageSlot > , getClass, getClassDef, validObject > , setClass, setClassUnion, setMethod, setOldClass > , setValidity, slot, "slot<-", slotNames, .hasSlot > , signature, representation, prototype) > I see that you do not list 'setGeneric' in importFrom("methods", ...). > If I add that manually and reinstall 'Matrix', then 'R CMD check' no > longer produces the above error. > PS. My problem...
2012 Sep 24
0
Deldir() Thiessen Polygons Problem
Good evening to all. I find myself trying to create some Thiessen Polygons, in order to finish a meteorology research. This is the script I found to create the Polygons: * * *voronoipolygons <- function(x) {* * require(deldir)* * if (.hasSlot(x, 'coords')) {* * crds <- x@coords * * } else crds <- x* * z <- deldir(crds[,1], crds[,2])* * w <- tile.list(z)* * polys <- vector(mode='list', length=length(w))* * require(sp)* * for (i in seq(along=polys)) {* * pcrds <- cbind(w[[i]]$x, w[[i]]$y)*...
2011 Sep 30
0
R 2.13.2 is released
...onal component for time series with odd frequencies. o The pdf() device only includes the definition of the sRGB colorspace in the output file for the "rgb" colormodel (and not for "gray" nor "cmyk"): this saves ca 9KB in the output file. o .hasSlot() wrongly gave FALSE in some cases. o Sweave() with keep.source=TRUE could generate spurious NA lines when a chunk reference appeared last in a code chunk. o \Sexpr[results=rd] in an .Rd file now first tries parse_Rd(fragment=FALSE) to allow Rd section-level macros to be...
2011 Sep 30
0
R 2.13.2 is released
...onal component for time series with odd frequencies. o The pdf() device only includes the definition of the sRGB colorspace in the output file for the "rgb" colormodel (and not for "gray" nor "cmyk"): this saves ca 9KB in the output file. o .hasSlot() wrongly gave FALSE in some cases. o Sweave() with keep.source=TRUE could generate spurious NA lines when a chunk reference appeared last in a code chunk. o \Sexpr[results=rd] in an .Rd file now first tries parse_Rd(fragment=FALSE) to allow Rd section-level macros to be...