Skip to content
Prev 367266 / 398506 Next

Make sure a data frame has been "fun through" a function

Stray attributes on data.frames may or may not survive some simple
operations on the data.frame.  E.g.,
[1] TRUE
[1] TRUE
[1] FALSE
[1] TRUE
[1] TRUE

I don't know if this would be an issue in your case.  If it is, you
could subclass "data.frame" and define methods so that the operations
of interest preserve or remove the attribute in the way that you
desire.

Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Feb 21, 2017 at 8:30 AM, Charles C. Berry <ccberry at ucsd.edu> wrote: