Re: [Rd] promptData still creates 'data(...)' in R 2.0.0

From: Prof Brian Ripley <>
Date: Wed 13 Oct 2004 - 03:47:14 EST

This is deliberate.

Datasets can only be used directly for packages to be installed with `LazyData: Yes', and that is not known when prompt() is called.

Allowing direct use of datasets is a convenience that the avantgarde packages have adopted, but there can be good reasons not to go in the direction for individual packages (name clashes being one).

Some people have kept data(foo) in their documentation to allow their package to be still used with R 1.9.x (or even earlier).

On Tue, 12 Oct 2004 wrote:

> Not necessarily a bug report, but might be nice to change.
> I'm using R 2.0.0 on Windows 2000.
> The promptData function creates a .Rd file in which the 'usage' section is:
> \usage{data(<dataset>)}
> I've looked at several of the help files for various data sets. It looks
> like the use of 'data' is being reduced and so it might be more
> appropriate for promptData to create this:
> \useage{<dataset>}

Brian D. Ripley,        
Professor of Applied Statistics,
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________ mailing list
Received on Wed Oct 13 03:59:46 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:21 EST