Displaying 1 result from an estimated 1 matches for "groupanchor".
2009 Jun 02
2
formal argument "envir" matched by multiple actual arguments
...oved from memory i.e. when the last object in
a group is garbage collected.)
setClassUnion("environmentORNULL", c("environment", "NULL"))
setClass("A",
representation(
aa="integer",
groupname="character",
groupanchor="environmentORNULL"
)
)
.A.group.sizes <- new.env(hash=TRUE, parent=emptyenv())
.inc.A.group.size <- function(groupname)
{
group.size <- 1L
if (exists(groupname, envir=.A.group.sizes, inherits=FALSE))
group.size <- group.size +...