[Rd] demo names with spaces?

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Sep 14 04:06:57 CEST 2006

There are two issues here:

1) file names with spaces are not supported, and indeed you cannot
install such a package on Windows.  Because make is used, this is
pretty fundamental.

2) The parsing code for 00Index used by 'check' assumes whitespace 
separates the name and the title.  In index files generated by R the 
separator is a tab, but demo indices are hand-crafted.

You can use underlines in the file and demo names.

On Wed, 13 Sep 2006, Dominick Samperi wrote:

> Does R support demo names with spaces?
> I tried placing a file like "My Demo Name.R" in
> the demo subdirectory, and placing a line that
> begins with "My Demo Name" in 00Index, but
> R CMD check does not like this. It reads the
> line in 00Index as "My, and it doesn't think there
> is a 00Index entry for "My Demo Name".
> I have no problem going back to MyDemoName.R,
> but I'm curious to know if there is support for
> names containing spaces.

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