vegandocs: Display Package Documentation

Description Usage Arguments Details Note Author(s) See Also Examples

Description

Display NEWS, vignettes, other special documents or ChangeLog in vegan, or vignettes in permute.

Usage

1
2
3
vegandocs(doc = c("NEWS", "ONEWS", "ChangeLog", "FAQ-vegan.pdf",
    "intro-vegan.pdf", "diversity-vegan.pdf", "decision-vegan.pdf",
    "partitioning.pdf", "permutations.pdf"))

Arguments

doc

The name of the document (partial match, case sensitive).

Details

You can read the following documents with this function:

Note

Function vignette only works with vignettes processed by R, but the current function also shows other pdf documents. You can extract R code from vignettes, but not from other documents (see Examples).

The permutations.pdf document is in the permute package.

Author(s)

Jari Oksanen

See Also

vignette, news.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
## Read NEWS
vegandocs()
## Alternatively (perhaps with different formatting)
news(package="vegan")
## Read a vignette
vegandocs("intro")
## with vignette()
vignette("intro-vegan", package="vegan")
## extract R code
vig <- vignette("intro-vegan", package="vegan")
edit(vig)
##

## End(Not run)

pattakosn/Rworkshop documentation built on May 24, 2019, 8:22 p.m.