> Yes, at least so it looks in src/main/objects.c > > Also, we had a very similar change a while ago : > ------------------------------------------------------------------------ > r65926 | luke | 2014-06-12 15:54:38 +0200 (Thu, 12. Jun 2014) | 2 Zeilen > GeƤnderte Pfade: > M src/library/base/R/datetime.R > > Commented out class(x) <- NULL in [.POSIXct and [[.POSICct. > ------------------------------------------------------------------------ > > and we never seemed to have followed up in a systematic manner > finding other places where this happens and could be > eliminated. I see about half a dozen examples in > base/R/dates.R alone and am trying to find more in other places. > > [maybe this used to be necessary for very early different > versions of NextMethod() which were not yet optimized using .Class etc]
Thanks for making the fix! Hadley -- http://hadley.nz ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel