[R] Building my own R package under Windows

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri Nov 5 09:49:29 CET 2004


On Fri, 5 Nov 2004, Lars Schouw wrote:

> Hi

>  Is there any samples anywhere that shows how to build my own R package
> for Windows?

>  I read that package manual and well as the FAQ but would prefer to have
> an example as well.
>  
> I know I need perl and mingw. 

1) Read README.packages, carefully.

2) Apply what you read to the sample package `windlgs' that ships with the
source-package files component of the install.  E.g.

	Rcmd INSTALL /path/to/windlgs

Or by `build' did you mean `write'?  (If so there are 412 example packages
on CRAN.)

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