Demos

Source and output of demos

Note there is a larger collection of examples in the knitr-examples repository on Github. This page is more for the documentation purpose. You can take a look at the collection of knitr applications by other users as well.

Archive (27 demos)

  • 03 Dec 2011 » Minimal examples (Examples for Rnw, Markdown, HTML and LaTeX)
  • 04 Dec 2011 » Cache (Examples for the cache feature)
  • 05 Dec 2011 » Manual (The package manual)
  • 06 Dec 2011 » LyX (Using knitr with LyX)
  • 07 Dec 2011 » Code Externalization (Use an external R script with your document)
  • 08 Dec 2011 » Beamer (Using knitr in beamer slides)
  • 09 Dec 2011 » Graphics (Power of graphics in knitr)
  • 10 Dec 2011 » Listings (Using knitr with listings)
  • 14 Jan 2012 » Chunk Reference/Macro (How to reuse chunks)
  • 18 Jan 2012 » Child documents (Input child files into the main document)
  • 22 Jan 2012 » Package vignettes (How to build package vignettes with knitr)
  • 25 Jan 2012 » Control output (Manipulate six types of chunk output and inline output)
  • 26 Jan 2012 » Quick reporting (Build a report based on an R script)
  • 01 Feb 2012 » Org-mode (Use knitr in Org-mode)
  • 02 Feb 2012 » RStudio (knitr support in RStudio)
  • 11 Feb 2012 » Pretty printing (Print highlighted source code of a function)
  • 12 Feb 2012 » Upload images (Publish images from chunks in the web)
  • 24 Feb 2012 » Sweave (Transition from Sweave to knitr)
  • 27 Feb 2012 » Eclipse (Configure Eclipse to work with knitr)
  • 29 Feb 2012 » Package framed (Default LaTeX style in knitr)
  • 16 Mar 2012 » Editors for knitr (Work with Emacs, Texmaker, TeXShop, WinEdt and TextMate, etc)
  • 01 May 2012 » HTML5 slides (making HTML5 slides with pandoc and knitr)
  • 04 May 2012 » Language engines (Use other languages in knitr)
  • 09 Nov 2012 » JavaScript (Combine R and JS applications like D3)
  • 10 Feb 2013 » WordPress (Publish blog posts from R + knitr to WordPress)
  • 06 Mar 2013 » Pandoc (Convert Markdown to other formats via Pandoc)
  • 11 Mar 2013 » knitr showcase (Examples from other users)