Yihui Xie
2013/07/17 @ Seattle, BioC 2013
# When I wrote this, only God and I understood what I was doing
# Now, God only knows
002-minimal.Rnw
and 001-minimal.Rmd
lazyLoad()
engine
option, e.g. engine = 'python'
, engine = 'awk'
knitr-examples/.*engine.*.Rmd
(e.g. 023
)system('python -c "print(1+1)"')
Run this locally:
# please use the latest deveopment version on Github
if (!require('knitr') || packageVersion('knitr') <= '1.3') install.packages('knitr', repos = c('http://rforge.net', 'http://cran.rstudio.org'), type = 'source')
demo('notebook', package = 'knitr')
data
, R
, man
, tests
, demo
, src
, vignettes
VignetteBuilder: knitr
in DESCRIPTION\VignetteEngine{knitr::knitr}
in vignettes