[Rd] Re: [R] Building a package under WIN2000 / rw2.0

Prof Brian Ripley ripley at stats.ox.ac.uk
Sun Nov 7 15:18:05 CET 2004


On Sun, 7 Nov 2004, Uwe Ligges wrote:

> BXC (Bendix Carstensen) wrote:
> > I have an odd problem in building a package with only R-code in it.
> > I have a package mainly used by myself which I last  build under R
> > 1.9.0.
> > The operation system is Win2000 5.00.2195, Service Pack 3
> > 
> > When I do:
> > 
> > c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build
> > --library=c:\stat\R\bxc\library c:\stat\R\bxc\library.sources\xx
> 
> [moved to R-devel]
> 
> Works with forward slashes as follows:
> 
>   c:\stat\r\rw2000\bin\Rcmd install --docs=normal --build
>   --library=c:\stat\R\bxc\library c:/stat/R/bxc/library.sources/xx
> 
> The seems to be related with the more recent threads
> "Re: [Rd] wishlist: better error message in R CMD check"
> "[Rd] creating a package without lazy loading"
> on R-devel.
> 
> I'll try to debug.

I have a fix in R-patched for this: it seems highly dependent on the
version of the tools in use.

For rw2000, do avoid

- spaces in the path to the package sources
- backslashes in the path to the package sources

Both were warned against, of course.

-- 
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-devel mailing list