Re: [Rd] RFC: allow packages to advertise vignettes on Windows

From: hadley wickham <h.wickham_at_gmail.com>
Date: Fri, 18 May 2007 17:11:47 +0200

On 5/18/07, Duncan Murdoch <murdoch_at_stats.uwo.ca> wrote:
> I think we've agreed about adding an option to the vignette() function
> to allow the user to choose to see all vignettes in installed packages,
> or only those that are attached. Adding this is pretty trivial, and
> I'll put it into R-devel soon.
>
> I'd like to set the default to show only attached packages, which would
> be consistent with the behaviour of demo() and data(). Vignettes are
> still less common than demos or data, so if I do this, I'll also change
> the "none found" message to something like
>
> > vignette()
> no vignettes found
>
> Use 'vignette(all = TRUE)'
> to list the vignettes in all *available* packages.

What will happen if you do vignette("svmdoc") when you haven't already loaded the e1071 package? Will the vignette continue to load (useful) or return an error message (consistent with help, and data, I think)? Should data and demo also gain "all" arguments to be consistent?

Hadley



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 18 May 2007 - 15:54:10 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 May 2007 - 20:35:35 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.