Several readers emailed me or left a comment on my previous announcement of Frank Harrell's workshop on using Sweave for reproducible research asking if we could record the seminar. Unfortunately we couldn't record audio or video, but take a look at the Sweave/Latex page on the Biostatistics Dept Wiki. Here you can find Frank's slideshow from today and the handout from today (a PDF statistical report with all the LaTeX/R code necessary to produce it). While this was more of an advanced Sweave/LaTeX workshop, you can also find an introduction to LaTeX and an introduction to reproducible research using R, LaTeX, and Sweave, both by Theresa Scott.
In addition to lots of other helpful tips, you'll also find the following resources to help you learn to use both Sweave and LaTeX:
- An introductory lecture to 'Reproducible Research with R, LaTeX, & Sweave' can be found here
- An extended example of a Sweave source file (extended.example.nw) and its output (extended.example.pdf)
- An extended example of the
LaTeX"preamble" to use in your .nw file: Sweave.Template.nw
SweaveManual and example .nw
Sweavefiles used in the
Sweavemanual can be found here.
- Not So Short Intro to
LaTeXcan be found here.
- A template in which everyone can edit their latest ideas
- Frank Harrell's handout Sweave for Reproducible Research and Beautiful Statistical Reports
- LaTeX and R code exemplifying the above
- Template for Presentations and Handouts using LaTeX, Beamer, and a PDF Viewer
- How to run
Sweavefrom within Emacs
- Customizing Sweave
- Charles Geyer's excellent page on Sweave
- Excellent material from Keith Baggerly