knitr: A General-Purpose Package for Dynamic Report Generation in R

Share:

Provides a general-purpose tool for dynamic report generation in R using Literate Programming techniques.

Author
Yihui Xie [aut, cre], Adam Vogt [ctb], Alastair Andrew [ctb], Alex Zvoleff [ctb], Andre Simon [ctb] (the CSS files under inst/themes/ were derived from the Highlight package http://www.andre-simon.de), Aron Atkins [ctb], Aaron Wolen [ctb], Ashley Manton [ctb], Ben Baumer [ctb], Brian Diggs [ctb], Cassio Pereira [ctb], David Robinson [ctb], Donald Arseneau [ctb, cph] (the framed package at inst/misc/framed.sty), Doug Hemken [ctb], Duncan Murdoch [ctb], Fabian Hirschmann [ctb], Fitch Simeon [ctb], Frank E Harrell Jr [ctb] (the Sweavel package at inst/misc/Sweavel.sty), Gregoire Detrez [ctb], Hadley Wickham [ctb], Heewon Jeon [ctb], Henrik Bengtsson [ctb], Hiroaki Yutani [ctb], Jake Burkhead [ctb], James Manton [ctb], Jared Lander [ctb], Jason Punyon [ctb], Jeff Arnold [ctb], Jeremy Ashkenas [ctb, cph] (the CSS file at inst/misc/docco-classic.css), Jeremy Stephens [ctb], Jim Hester [ctb], Joe Cheng [ctb], Johannes Ranke [ctb], John Honaker [ctb], John Muschelli [ctb], Jonathan Keane [ctb], JJ Allaire [ctb], Johan Toloe [ctb], Joseph Larmarange [ctb], Julien Barnier [ctb], Kaiyin Zhong [ctb], Kamil Slowikowski [ctb], Kevin K. Smith [ctb], Kirill Mueller [ctb], Kohske Takahashi [ctb], Michael Friendly [ctb], Michal Bojanowski [ctb], Michel Kuhlmann [ctb], Nacho Caballero [ctb], Nick Salkowski [ctb], Noam Ross [ctb], Qiang Li [ctb], Ramnath Vaidyanathan [ctb], Richard Cotton [ctb], Robert Krzyzanowski [ctb], Romain Francois [ctb], Scott Kostyshak [ctb], Sebastian Meyer [ctb], Sietse Brouwer [ctb], Simon de Bernard [ctb], Taiyun Wei [ctb], Thibaut Assus [ctb], Thibaut Lamadon [ctb], Thomas Leeper [ctb], Tom Torsney-Weir [ctb], Trevor Davis [ctb], Viktoras Veitas [ctb], Weicheng Zhu [ctb], Wush Wu [ctb], Zachary Foster [ctb]
Date of publication
2016-11-22 09:36:46
Maintainer
Yihui Xie <xie@yihui.name>
License
GPL
Version
1.15.1
URLs

View on CRAN

Man pages

all_labels
Get all chunk labels in a document
all_patterns
All built-in patterns
asis_output
Mark an R object with a special class
chunk_hook
Built-in chunk hooks to extend knitr
clean_cache
Clean cache files that are probably no longer needed
combine_words
Combine multiple words into a single string
current_input
Query the current input filename
dep_auto
Build automatic dependencies among chunks
dep_prev
Make later chunks depend on previous chunks
engine_output
An output wrapper for language engine output
fig_chunk
Obtain the figure filenames for a chunk
fig_path
Path for figure files
hook_animation
Hooks to create animations in HTML output
hook_document
Some potentially useful document hooks
hook_plot
Default plot hooks for different output formats
image_uri
Encode an image file to a data URI
imgur_upload
Upload an image to imgur.com
include_graphics
Embed external images in 'knitr' documents
include_url
Embed a URL as an HTML iframe or a screenshot in 'knitr'...
inline_expr
Wrap code using the inline R expression syntax
kable
Create tables in LaTeX, HTML, Markdown and reStructuredText
knit
Knit a document
knit2html
Convert markdown to HTML using knit() and markdownToHTML()
knit2pdf
Convert Rnw or Rrst files to PDF using knit() and texi2pdf()...
knit2wp
Knit an R Markdown document and post it to WordPress
knit_child
Knit a child document
knit_engines
Engines of other languages
knit_exit
Exit knitting early
knit_expand
A simple macro preprocessor for templating purposes
knit_filter
Spell check filter for source documents
knit_global
The global environment in which code chunks are evaluated
knit_hooks
Hooks for R code chunks, inline R code and output
knit_meta
Metadata about objects to be printed
knit_params
Extract knit parameters from a document
knit_params_yaml
Extract knit parameters from YAML text
knit_patterns
Patterns to match and extract R code in a document
knit_print
A custom printing function
knit_rd
Knit package documentation
knitr-package
A general-purpose tool for dynamic report generation in R
knit_theme
Syntax highlighting themes
knit_watch
Watch an input file continuously and knit it when it is...
load_cache
Load the cache database of a code chunk
opts_chunk
Default and current chunk options
opts_hooks
Hooks for code chunk options
opts_knit
Options for the knitr package
opts_template
Template for creating reusable chunk options
output_hooks
Set output hooks for different output formats
pandoc
A Pandoc wrapper to convert documents to other formats
pat_fun
Set regular expressions to read input documents
plot_crop
Crop a plot (remove the edges) using PDFCrop or ImageMagick
rand_seed
An unevaluated expression to return .Random.seed if exists
raw_output
Mark character strings as raw output that should not be...
read_chunk
Read chunks from an external script
read_rforge
Read source code from R-Forge
rocco
Knit R Markdown using the classic Docco style
rst2pdf
A wrapper for rst2pdf
set_alias
Set aliases for chunk options
set_header
Set the header information
set_parent
Specify the parent document of child documents
spin
Spin goat's hair into wool
spin_child
Spin a child R script
stitch
Automatically create a report based on an R script and a...
Sweave2knitr
Convert Sweave to knitr documents
vignette_engines
Package vignette engines
wrap_rmd
Wrap long lines in Rmd files
write_bib
Generate BibTeX bibliography databases for R packages

Files in this package

knitr
knitr/inst
knitr/inst/examples
knitr/inst/examples/knitr-subfloats.Rnw
knitr/inst/examples/download_count.csv
knitr/inst/examples/knitr-manual.lyx
knitr/inst/examples/knitr-spin.R
knitr/inst/examples/knitr-packages.bib
knitr/inst/examples/knitr-beamer.lyx
knitr/inst/examples/knitr-input-child.Rnw
knitr/inst/examples/knitr-twocolumn.Rnw
knitr/inst/examples/upload-github.R
knitr/inst/examples/knitr-latex.Rtex
knitr/inst/examples/knitr-manual.bib
knitr/inst/examples/knitr-minimal.Rrst
knitr/inst/examples/knitr-graphics.lyx
knitr/inst/examples/knitr-beamer.Rnw
knitr/inst/examples/knitr-subfloats.lyx
knitr/inst/examples/knit-all.R
knitr/inst/examples/knitr-minimal.Rmd
knitr/inst/examples/README.md
knitr/inst/examples/knitr-input.Rnw
knitr/inst/examples/knitr-minimal.Rnw
knitr/inst/examples/knitr-minimal.lyx
knitr/inst/examples/Sweavel.sty
knitr/inst/examples/knitr-graphics.Rnw
knitr/inst/examples/knitr-twocolumn.lyx
knitr/inst/examples/knitr-themes.Rnw
knitr/inst/examples/knitr-listings.lyx
knitr/inst/examples/child
knitr/inst/examples/child/sub
knitr/inst/examples/child/sub/knitr-child-c.Rnw
knitr/inst/examples/child/knitr-main.Rnw
knitr/inst/examples/child/knitr-child-a.Rnw
knitr/inst/examples/child/knitr-main.Rmd
knitr/inst/examples/child/knitr-child-b.Rnw
knitr/inst/examples/child/knitr-child.Rmd
knitr/inst/examples/child/knitr-parent.Rnw
knitr/inst/examples/knitr-themes.lyx
knitr/inst/examples/knitr-listings.Rnw
knitr/inst/examples/knitr-spin.html
knitr/inst/examples/knitr-manual.Rnw
knitr/inst/examples/knitr-minimal.brew
knitr/inst/examples/knitr-spin.Rmd
knitr/inst/CITATION
knitr/inst/misc
knitr/inst/misc/R.css
knitr/inst/misc/knitr-template.Rmd
knitr/inst/misc/tikz2pdf.tex
knitr/inst/misc/tweak_bib.csv
knitr/inst/misc/docco-template.html
knitr/inst/misc/knitr.sty
knitr/inst/misc/docco-classic.html
knitr/inst/misc/knitr-template.Rnw
knitr/inst/misc/docco-classic.css
knitr/inst/misc/Sweavel.sty
knitr/inst/misc/stitch-test.R
knitr/inst/misc/gWidgetsWWW2-knitr.R
knitr/inst/misc/knitr.css
knitr/inst/misc/knitr-template.Rhtml
knitr/inst/misc/datatables.html
knitr/inst/misc/vignette.css
knitr/inst/misc/vignette.html
knitr/inst/misc/framed.sty
knitr/inst/misc/toggleR.js
knitr/inst/NEWS.Rd
knitr/inst/bin
knitr/inst/bin/knit
knitr/inst/shiny
knitr/inst/shiny/ui.R
knitr/inst/shiny/server.R
knitr/inst/shiny/www
knitr/inst/shiny/www/ace-shiny.css
knitr/inst/shiny/www/ace-shiny.js
knitr/inst/doc
knitr/inst/doc/knitr-markdown.html
knitr/inst/doc/knitr-intro.html
knitr/inst/doc/datatables.Rmd
knitr/inst/doc/knitr-intro.Rmd
knitr/inst/doc/knitr-html.Rhtml
knitr/inst/doc/knit_print.R
knitr/inst/doc/docco-linear.R
knitr/inst/doc/docco-classic.html
knitr/inst/doc/knit_expand.html
knitr/inst/doc/docco-linear.html
knitr/inst/doc/docco-classic.Rmd
knitr/inst/doc/knitr-markdown.R
knitr/inst/doc/knitr-markdown.Rmd
knitr/inst/doc/knitr-html.R
knitr/inst/doc/knit_print.Rmd
knitr/inst/doc/knitr-refcard.Rmd
knitr/inst/doc/knit_expand.Rmd
knitr/inst/doc/docco-linear.Rmd
knitr/inst/doc/knit_expand.R
knitr/inst/doc/knitr-refcard.pdf
knitr/inst/doc/datatables.R
knitr/inst/doc/docco-classic.R
knitr/inst/doc/knitr-intro.R
knitr/inst/doc/datatables.html
knitr/inst/doc/knitr-html.html
knitr/inst/doc/knit_print.html
knitr/inst/opencpu
knitr/inst/opencpu/apps
knitr/inst/opencpu/apps/index.html
knitr/inst/themes
knitr/inst/themes/rdark.css
knitr/inst/themes/edit-nedit.css
knitr/inst/themes/edit-eclipse.css
knitr/inst/themes/edit-matlab.css
knitr/inst/themes/aiseered.css
knitr/inst/themes/andes.css
knitr/inst/themes/solarized-light.css
knitr/inst/themes/edit-kwrite.css
knitr/inst/themes/golden.css
knitr/inst/themes/navy.css
knitr/inst/themes/nightshimmer.css
knitr/inst/themes/bclear.css
knitr/inst/themes/zellner.css
knitr/inst/themes/greenlcd.css
knitr/inst/themes/matrix.css
knitr/inst/themes/greyscale1.css
knitr/inst/themes/edit-xcode.css
knitr/inst/themes/fine_blue.css
knitr/inst/themes/breeze.css
knitr/inst/themes/edit-gedit.css
knitr/inst/themes/blacknblue.css
knitr/inst/themes/darkness.css
knitr/inst/themes/bright.css
knitr/inst/themes/greyscale2.css
knitr/inst/themes/edit-emacs.css
knitr/inst/themes/edit-jedit.css
knitr/inst/themes/rootwater.css
knitr/inst/themes/orion.css
knitr/inst/themes/solarized-dark.css
knitr/inst/themes/whitengrey.css
knitr/inst/themes/maroloccio.css
knitr/inst/themes/edit-vim.css
knitr/inst/themes/seashell.css
knitr/inst/themes/moria.css
knitr/inst/themes/rand01.css
knitr/inst/themes/edit-flashdevelop.css
knitr/inst/themes/darkspectrum.css
knitr/inst/themes/print.css
knitr/inst/themes/darkbone.css
knitr/inst/themes/candy.css
knitr/inst/themes/tabula.css
knitr/inst/themes/darkblue.css
knitr/inst/themes/edit-vim-dark.css
knitr/inst/themes/biogoo.css
knitr/inst/themes/greyscale0.css
knitr/inst/themes/baycomb.css
knitr/inst/themes/night.css
knitr/inst/themes/earendel.css
knitr/inst/themes/dusk.css
knitr/inst/themes/autumn.css
knitr/inst/themes/oxygenated.css
knitr/inst/themes/acid.css
knitr/inst/themes/lucretia.css
knitr/inst/themes/ekvoli.css
knitr/inst/themes/neon.css
knitr/inst/themes/moe.css
knitr/inst/themes/freya.css
knitr/inst/themes/pablo.css
knitr/inst/themes/navajo-night.css
knitr/inst/themes/dante.css
knitr/inst/themes/darkslategray.css
knitr/inst/themes/bipolar.css
knitr/inst/themes/tcsoft.css
knitr/inst/themes/olive.css
knitr/inst/themes/xoria256.css
knitr/inst/themes/manxome.css
knitr/inst/themes/fruit.css
knitr/inst/themes/bluegreen.css
knitr/inst/themes/clarity.css
knitr/inst/themes/leo.css
knitr/inst/themes/camo.css
knitr/inst/themes/denim.css
knitr/inst/themes/molokai.css
knitr/inst/themes/edit-anjuta.css
knitr/inst/themes/nuvola.css
knitr/inst/themes/vampire.css
knitr/inst/themes/zmrok.css
knitr/inst/themes/peaksea.css
knitr/inst/themes/default.css
knitr/inst/themes/easter.css
knitr/inst/themes/kellys.css
knitr/inst/themes/zenburn.css
knitr/inst/themes/relaxedgreen.css
knitr/inst/themes/anotherdark.css
knitr/inst/themes/edit-msvs2008.css
knitr/tests
knitr/tests/testit
knitr/tests/testit/test-patterns.R
knitr/tests/testit/test-templates.R
knitr/tests/testit/test-utils.R
knitr/tests/testit/test-closure.R
knitr/tests/testit/test-output.R
knitr/tests/testit/test-hooks.R
knitr/tests/testit/knit-tikzDevice.Rnw
knitr/tests/testit/test-citation.R
knitr/tests/testit/test-cache.R
knitr/tests/testit/test-envir.R
knitr/tests/testit/test-plot.R
knitr/tests/testit/knit-envir.Rmd
knitr/tests/testit/test-params.R
knitr/tests/testit/test-parser.R
knitr/tests/testit/test-sql.R
knitr/tests/testit/test-table.R
knitr/tests/run-all.R
knitr/NAMESPACE
knitr/demo
knitr/demo/gwidgets.R
knitr/demo/notebook.R
knitr/demo/00Index
knitr/R
knitr/R/hooks-html.R
knitr/R/defaults.R
knitr/R/utils.R
knitr/R/header.R
knitr/R/hooks-extra.R
knitr/R/output.R
knitr/R/citation.R
knitr/R/concordance.R
knitr/R/plot.R
knitr/R/utils-conversion.R
knitr/R/rocco.R
knitr/R/block.R
knitr/R/utils-upload.R
knitr/R/themes.R
knitr/R/hooks-md.R
knitr/R/hooks.R
knitr/R/utils-rd2html.R
knitr/R/hooks-textile.R
knitr/R/template.R
knitr/R/spin.R
knitr/R/hooks-rst.R
knitr/R/utils-sweave.R
knitr/R/cache.R
knitr/R/pattern.R
knitr/R/utils-vignettes.R
knitr/R/params.R
knitr/R/hooks-asciidoc.R
knitr/R/pandoc.R
knitr/R/package.R
knitr/R/table.R
knitr/R/utils-base64.R
knitr/R/highlight.R
knitr/R/engine.R
knitr/R/hooks-latex.R
knitr/R/zzz.R
knitr/R/parser.R
knitr/R/hooks-chunk.R
knitr/vignettes
knitr/vignettes/datatables.Rmd
knitr/vignettes/knitr-intro.Rmd
knitr/vignettes/knitr-refcard.lyx
knitr/vignettes/knitr-html.Rhtml
knitr/vignettes/docco-classic.Rmd
knitr/vignettes/assets
knitr/vignettes/assets/template-refcard.tex
knitr/vignettes/knitr-markdown.Rmd
knitr/vignettes/knit_print.Rmd
knitr/vignettes/knitr-refcard.Rmd
knitr/vignettes/knit_expand.Rmd
knitr/vignettes/docco-linear.Rmd
knitr/README.md
knitr/MD5
knitr/build
knitr/build/knitr.pdf
knitr/build/vignette.rds
knitr/DESCRIPTION
knitr/man
knitr/man/knit_filter.Rd
knitr/man/inline_expr.Rd
knitr/man/image_uri.Rd
knitr/man/pat_fun.Rd
knitr/man/imgur_upload.Rd
knitr/man/knitr-package.Rd
knitr/man/opts_hooks.Rd
knitr/man/stitch.Rd
knitr/man/plot_crop.Rd
knitr/man/rst2pdf.Rd
knitr/man/knit2html.Rd
knitr/man/spin_child.Rd
knitr/man/all_patterns.Rd
knitr/man/set_alias.Rd
knitr/man/asis_output.Rd
knitr/man/include_url.Rd
knitr/man/chunk_hook.Rd
knitr/man/load_cache.Rd
knitr/man/knit_engines.Rd
knitr/man/wrap_rmd.Rd
knitr/man/clean_cache.Rd
knitr/man/rand_seed.Rd
knitr/man/knit_theme.Rd
knitr/man/rocco.Rd
knitr/man/set_header.Rd
knitr/man/knit2pdf.Rd
knitr/man/hook_animation.Rd
knitr/man/pandoc.Rd
knitr/man/hook_plot.Rd
knitr/man/knit_print.Rd
knitr/man/Sweave2knitr.Rd
knitr/man/hook_document.Rd
knitr/man/knit_watch.Rd
knitr/man/knit_rd.Rd
knitr/man/all_labels.Rd
knitr/man/fig_chunk.Rd
knitr/man/write_bib.Rd
knitr/man/knit_hooks.Rd
knitr/man/dep_auto.Rd
knitr/man/knit.Rd
knitr/man/fig_path.Rd
knitr/man/include_graphics.Rd
knitr/man/read_rforge.Rd
knitr/man/knit2wp.Rd
knitr/man/set_parent.Rd
knitr/man/knit_params.Rd
knitr/man/knit_child.Rd
knitr/man/read_chunk.Rd
knitr/man/vignette_engines.Rd
knitr/man/raw_output.Rd
knitr/man/spin.Rd
knitr/man/knit_exit.Rd
knitr/man/opts_chunk.Rd
knitr/man/opts_template.Rd
knitr/man/engine_output.Rd
knitr/man/combine_words.Rd
knitr/man/kable.Rd
knitr/man/output_hooks.Rd
knitr/man/knit_meta.Rd
knitr/man/knit_patterns.Rd
knitr/man/current_input.Rd
knitr/man/opts_knit.Rd
knitr/man/knit_expand.Rd
knitr/man/knit_params_yaml.Rd
knitr/man/dep_prev.Rd
knitr/man/knit_global.Rd
knitr/tools
knitr/tools/covr.R
knitr/.Rinstignore