Compstat pp 575-580 | Cite as

Sweave: Dynamic Generation of Statistical Reports Using Literate Data Analysis

  • Friedrich Leisch

Abstract

Sweave combines typesetting with LATEX and data anlysis with S into integrated statistical documents. When run through R or Splus, all data analysis output (tables, graphs,…) is created on the fly and inserted into a final LATEX document. Options control which parts of the original S code are shown to or hidden from the reader, respectively. Many S users are also LATEX users, hence no new software has to be learned. The report can be automatically updated if data or analysis change, which allows for truly reproducible research.

Keywords

literate statistical practice integrated statistical documents reproducible research References 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. W. Härdle, S. Klinke, and M. Müller. XploRe Learning Guide. Springer Verlag, 1999.CrossRefGoogle Scholar
  2. L. Lang and H. P. Wolf. The REVWEB manual for Splus in Windows. URL http://wiwi.uni-bielefeld.de/StatCompSci/software/StatCompSci/software Universität Bielefeld, Germany, 1997.Google Scholar
  3. F. Leisch. Sweave user manual. URL http://www.ci.tuwien.ac.at/∼leisch/Sweave Institut für Statistik und Wahrscheinlichkeitstheorie, Technische Universität Wien, Vienna, Austria, 2002.Google Scholar
  4. N. Ramsey. Noweb man page. University of Virginia, USA, 1998. URL http://www.cs.virginia.edu/∼nr/noweb. version 2.9a.Google Scholar
  5. A. Rossini. Literate statistical analysis. In K. Hornik and F. Leisch, edi-tors, Proceedings of the 2nd International Workshop on Distributed Statistical Computing, March 15–17, 2001, Technische Universität Wien, Vienna, Austria, 2001. URL http://www.ci.tuwien.ac.at/Conferences/DSC-2001/Proceedings/Conferences/DSC-2001/Proceedings ISSN 1609–395XGoogle Scholar
  6. A. J. Rossini, M. Mächler, K. Hornik, R. M. Heiberger, and R. Sparapani. Emacs speaks statistics: A universal interface for statistical analysis. Report 164, Department of Biostatistics, University of Washington, 2001. URL http://software.biostat.washington.edu/statsoft/ess/ess-techrep.pdf/statsoft/ess/ess-techrep.pdfGoogle Scholar
  7. R. M. Stallman. The Emacs Editor. Free Software Foundation, Boston, MA, USA, 1999. URL http://www.gnu.org version 20.7.Google Scholar
  8. D. Temple Lang. Embedding S in other languages and environments. In K. Hornik and F. Leisch, editors, Proceedings of the 2nd International Workshop on Distributed Statistical Computing, March 15–17, 2001, Technische Universität Wien, Vienna, Austria, 2001. URL http://www.ci.tuwien.ac.at/Conferences/DSC-2001/Proceedings/Conferences/DSC-2001/Proceedings ISSN 1609–395X.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2002

Authors and Affiliations

  • Friedrich Leisch
    • 1
  1. 1.Institut für Statistik und WahrscheinlichkeitstheorieTechnische Universität WienWienAustria

Personalised recommendations