[R] specifying exports for R CMD SHLIB

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 28 15:06:20 CEST 2004


What OS?

If this is Windows, you cannot (and why do you want to, as the DLL is just 
to be loaded into R?).

On Tue, 28 Sep 2004 martin at ist.org wrote:

> How can I specify which functions should be exported when I build a 
> shared library with 'R CMD SHLIB foo.c'??
> I tried putting a file named foo.def in the same directory with the 
> line 'EXPORTS' and the names of the functions to be exported, but the 
> file is deleted in the build process.

-- 
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