Debian Codegraph @

inst/doc/knitr-markdown.R

raw
1 help(package = 'YourPackage', help_type = 'html')
2 # or see a standalone list of vignettes
3 browseVignettes('YourPackage')
4
5 if (TRUE) cat('_hello_ **markdown**!', '\n')
6
7 1+1
8 10:1
9 rnorm(5)^2
10 strsplit('hello, markdown vignettes', '')
11
12 n=300; set.seed(123)
13 par(mar=c(4,4,.1,.1))
14 plot(rnorm(n), rnorm(n), pch=21, cex=5*runif(n), col='white', bg='gray')
15