HowTo/UsingVignettes

From Comparative Phylogenetics in R
Revision as of 19:00, 6 February 2008 by Hilmar (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

UNDER CONSTRUCTION!

Vignettes are package tutorials that contain both narrative descriptions for how to perform an analysis as well as working code snippets.

To list available vignettes, type

> vignette()

To see a specific vignette, type, for example,

> vignette("grid")

You can extract the R code from a vignette by typing

> vigSrc = list.files(pattern="Rnw$",
                   system.file("doc",package="GOstats"),
                   full.names=TRUE)
> vigSrc
> for (v in vigSrc) Stangle(v)