Re: [Rd] demo names with spaces?

From: Prof Brian D Ripley <ripley_at_stats.ox.ac.uk>
Date: Thu 14 Sep 2006 - 02:06:57 GMT

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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu Sep 14 12:09:33 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 14 Sep 2006 - 06:30:07 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.