Re: [Rd] HTML vignette browser

From: Friedrich Leisch <>
Date: Mon, 04 Jun 2007 17:57:34 +0200

>>>>> On Fri, 1 Jun 2007 16:22:18 -0700, >>>>> Deepayan Sarkar (DS) wrote:

> Hi,
> this is tangentially related to the recent discussion on vignettes.
> vignette() currently produces a listing of available vignettes, but
> these are not clickable. Since R has a browseURL() function, it seems
> natural to have a version that produces HTML with clickable links.
> Here's an attempt at that:

> source("")
> browseVignettes()
> browseVignettes(package = "grid")

> etc. Perhaps some variant of this could be added to R.

> Comments welcome.

Looks good to me, and certainly something worth being added to R.

2 quick (related) comments:

  1. I am not sure if we want to include links to the Latex-Sources by default, those might confuse unsuspecting novices a lot. Perhaps make those optional using an argument to browseVignettes(), which is FALSE by default?
  2. Instead links to .Rnw files we may want to include links to the R code -> should we R CMD INSTALL a tangled version of each vignette such that we can link to it? Of course it is redundant information given the .Rnw, but we also have the help pages in several formats ready.

.f mailing list Received on Mon 04 Jun 2007 - 16:08:15 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 Mon 04 Jun 2007 - 18:33:30 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.