Hi all,
Using character indexing on a vector is quite fast up through vector
length of 46340, then it suddenly it gets 3 orders of magnitude slower.
This is true at least of the special case in which the index vector is
the complete (though possibly out-of-order) set of vector names:
test <-
Hi all,
I am working on an application in which we'd like to use attributes to
attach simple metadata to arbitrary R objects. It is essential that all
functions that will work on the original object will also work on the
object after metadata attributes have been added. However, this is not
al
tical issues are (1) I may have
several variants of the user-level constructors and don't want to repeat
the common initialization code in each one, and (2) the operations I
have in my initialize methods are only sensible for valid objects (and
thus not meaningfully executed before 'n
Hi all,
I am having trouble extending S4 classes in cases where I'm using both
validity and initialize methods. I've read as much S4 information as I
can find, but I've yet to have that "a-ha" moment.
In my application, I am using validity methods to guard against
inappropriate input data that