Skip to content
Prev 16164 / 63424 Next

Light-weight data.frame class: was: how to add method to .Primitive function

"[.default" is implemented in R as .subset.  See ?.subset and note that
it begins with a dot.  e.g. for the case where i and j are not missing:

"[.lwdf" <- function(x, i, j) lapply(.subset(x,j), "[", i)
On 5/8/05, Vadim Ogranovich <vograno@evafunds.com> wrote: