From ripley at stats.ox.ac.uk  Tue Jan 22 15:02:24 2013
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 22 Jan 2013 14:02:24 +0000
Subject: [Rd] R_tabulate
In-Reply-To: <CA+haZ2heKkhR1tAKAdiS=QeCX74=9ykA9MrGaEsEEfXJQ2tjHg@mail.gmail.com>
References: <CA+haZ2heKkhR1tAKAdiS=QeCX74=9ykA9MrGaEsEEfXJQ2tjHg@mail.gmail.com>
Message-ID: <50FE9BF0.2080701@stats.ox.ac.uk>

On 22/01/13 12:47, Francisco Javier Molina Lopez wrote:
> How could I get the code of the inner function ( written in C, I guess ) of
> R_tabulate?
> This function is used by R function tabulate.

Hmm, not so in current R 2.15.2, which uses R_Tabulate.

You will find it in the appropriate R sources.  Most likely in file 
src/appl/tabulate.c (you did not mention a version of R).


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] R_tabulate
Prof Brian Ripley