Difference between revisions of "HowTo/UsingVignettes"

From Comparative Phylogenetics in R
Jump to: navigation, search
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<h2>UNDER CONSTRUCTION!</h2>
+
<h2>UNDER CONSTRUCTION Please help to make it better! </h2>
  
 
Vignettes are package tutorials that contain both narrative descriptions for how to perform an analysis as well as working code snippets.
 
Vignettes are package tutorials that contain both narrative descriptions for how to perform an analysis as well as working code snippets.
Line 18: Line 18:
 
  > vigSrc
 
  > vigSrc
 
  > for (v in vigSrc) Stangle(v)
 
  > for (v in vigSrc) Stangle(v)
 +
 +
[[HowTo/Table of Contents| Back to the HowTo/Table of Contents]]
  
 
[[Category:HowTo]]
 
[[Category:HowTo]]
 
[[Category:R Help]]
 
[[Category:R Help]]
 +
[[Category:Comparative Methods Help]]

Latest revision as of 10:18, 14 March 2008

UNDER CONSTRUCTION Please help to make it better!

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)

Back to the HowTo/Table of Contents