[R] Creating packages

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Fri Jan 10 14:25:04 CET 2003

On Sat, 11 Jan 2003, David Scott wrote:

> I am trying to create a package. I have succeeded in running R CMD check
> and R CMD build on an Intel box running Redhat. I would now like to
> build it on Windows as well. There is no compiled code in the package at
> all.
> I have downloaded the tools from Brian Ripley's Building R for Windows
> page, and installed Active Perl 5.8.0. I have set paths, and Rcmd and the
> tools are being found ok. I am having trouble though as follows:
> C:\dscott\Temp>ls
> hyperb  hyperbtemp
> C:\dscott\Temp>set TMPDIR=hyperbtemp

That needs to be an absolute path, as given in the example in
readme.packages.  I think you may mean c:/dscott/Temp/hyperbtemp.  The
code does not check that it is absolute (nor do I see how one can actually
ensure it).

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