From ripley at stats.ox.ac.uk  Sun Nov  7 15:18:05 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun Nov  7 15:18:14 2004
Subject: [Rd] Re: [R] Building a package under WIN2000 / rw2.0
In-Reply-To: <418E182C.9070405@statistik.uni-dortmund.de>
Message-ID: <Pine.LNX.4.44.0411071412290.14381-100000@gannet.stats>

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


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