Sweave

Sweave

Sweave is a function in the statistical programming language R that enables integration of R code into LaTeX documents. The purpose is "to create dynamic reports, which can be updated automatically if data or analysis change" (Leisch, 2002, p. 28).

The data analysis is performed at the moment of writing the report, or more exactly, at the moment of compiling the Sweave code with Sweave (i.e., essentially with R) and subsequently with LaTeX. This can facilitate the creation of up-to-date reports for the author.

Because the Sweave files together with any external R files that might be sourced from them and the data files contain all the information necessary to trace back all steps of the data analyses, Sweave also has the potential to make research more transparent and reproducible to othersFact|date=April 2008. However, this is only the case to the extent that the author makes the data and the R and Sweave code available. If the author only publishes the resulting PDF document or printed versions thereof, a report created using Sweave is no more transparent or reproducible than the same report created with other statistical and text preparation software.

ources

* Leisch, F. (2002). Sweave, Part I: Mixing R and LaTeX: A short introduction to the Sweave file format and corresponding R functions. R News Vol. 2(3), 28-31.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Sweave — ist eine Funktion, die von Friedrich Leisch für die Statistiksoftware R geschrieben wurde und dort im Paket utils implementiert ist. Sweave stellt eine dynamische Verbindung zwischen R und LaTeX her. LaTeX ist ein Softwaresystem zur Benutzung des …   Deutsch Wikipedia

  • Sweave — es una componente del lenguage de programación R que permite la integración de código en documentos escritos con LaTeX o LyX. El objetivo es el de crear informes dinámicos que se actualicen automáticamente cuando cambian los datos.[1] El análisis …   Wikipedia Español

  • sweave — To swerve and weave Wile Driving. That guy tends to sweave all over the road when he s been drinking …   Dictionary of american slang

  • sweave — To swerve and weave Wile Driving. That guy tends to sweave all over the road when he s been drinking …   Dictionary of american slang

  • R (programming language) — R Paradigm(s) multi paradigm: object oriented, imperative, functional, procedural, reflective Appeared in 1993[1] …   Wikipedia

  • GNU R — R Entwickler: The R Foundation for Statistical Computing Aktuelle Version: 2.9.0 (17. April 2009) …   Deutsch Wikipedia

  • R-project — Saltar a navegación, búsqueda R Desarrollador R Development Core Team www.r project.org …   Wikipedia Español

  • R (lenguaje de programación) — R Desarrollador R Development Core Team www.r project.org Informa …   Wikipedia Español

  • Emacs Speaks Statistics — Infobox Software name = Emacs Speaks Statistics caption = Gnu emacs in ESS and iESS mode. In the upper window, S code is edited in emacs ESS mode. In the lower window the S code is executed by R via iESS. latest release version = 5.3.4 genre =… …   Wikipedia

  • Friedrich Leisch — (* 31. Juli 1968 in Wien) ist ein österreichischer Statistiker. Leben Friedrich Leisch wuchs in Wien auf. An der Technischen Universität Wien studierte er Technische Mathematik, wurde er 1999 bei Kurt Hornik promoviert und 2005 in Statistik… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”