[R] Strplit code

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Dec 3 21:46:56 CET 2008

On Wed, 3 Dec 2008, pomchip at free.fr wrote:

> Dear R-users,
> The strsplit function does not exist in S-plus and I would like to use it. How
> could I reproduce the function in Splus or access to its source code?

With difficulty, as it is almost entirely implemented in C code (in 
src/main/character.c and src/main/regex.c, as well as the PCRE library)..

It is not something I would undertake lightly (and I am the 
author/maintainer of most of that code).

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

More information about the R-help mailing list