Re: [Rd] Add DUP = FALSE when tabulate() calls .C("R_tabulate"

From: Prof Brian Ripley <>
Date: Mon, 09 Apr 2012 09:48:29 +0100

On 08/04/2012 19:37, Tim Hesterberg wrote:
> In base/R/tabulate.R, tabulate() calls .C("R_tabulate";
> I suggest adding DUP = FALSE to that call.

We can do that. Note that R-patched already does less copying[*], but adding DUP=FALSE may avoid one copy of 'dup' if it is an integer vector.   We can avoid another for a factor ....

[*] tracemem() is still reporting 'copies' that are not full duplications.

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Mon 09 Apr 2012 - 08:51:19 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 10 Apr 2012 - 19:20:43 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive