[datatable-help] Override the data.frame print function

Branson Owen branson.owen at gmail.com
Mon Nov 7 17:47:02 CET 2011


On Fri, Nov 4, 2011 at 9:15 AM, Chris Neff <caneff at gmail.com> wrote:
> > I'd rather have the print.data.table function override the
> > print.data.frame one. How can I do this?
>
> Try:
>
> print.data.frame <- data.table:::print.data.table
>

Does it create a copy of 'print.data.frame' in global environment?

> base:::print.data.frame <- data.table:::print.data.table

Is overwriting base better?

If print.data.frame is always called in global environment, I guess I
worried too much.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20111107/6705a2cb/attachment.htm>


More information about the datatable-help mailing list