On Mon, Sep 9, 2013 at 3:00 AM, Scott Kostyshak skost...@princeton.edu wrote:
tools::md5sum gives a warning if it receives a directory as an
argument on Unix but not on Windows.
From what I understand, this happens because in Windows a directory is
not treated as a file so fopen returns NULL.
I want to create my own [ function (for use on vectors, matrices,
arrays, etc.), which calls the stock R [, does some additional work,
and then finally returns the modified result.
But, how do I properly call the stock R [ function? It takes a
varying number of positional arguments, and its
Typically you use NextMethod(), but otherwise you can either unclass
your object first or use .subset(). Not sure from ?.subset whether
that is ok to use or not.
/Henrik
On Sun, Sep 29, 2013 at 8:26 PM, Andrew Piskorski a...@piskorski.com wrote:
I want to create my own [ function (for use on