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

2004-10-12 Thread Prof Brian Ripley
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 dir

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

2004-10-12 Thread kwright
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()} I've looked at several of the help files for various data sets. It looks like the use of 'data' is being red