Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Sweave

< >

Sweave is a template language created in 2002.

#2628on PLDB 22Years Old
Wikipedia

Sweave is a function in the statistical programming language R that enables integration of R code into LaTeX or LyX documents. The purpose is "to create dynamic reports, which can be updated automatically if data or analysis change".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. Read more on Wikipedia...


Example from the web:
%------------------------------------------- \section{Introduction} %-------------------------------------------- Just a simple introduction to Sweave. <<test1>>= a=1 b=4 a+b print("hello") @ We can call R commands from the text. For example a+b= \Sexpr{a+b}

- Build the next great programming language Add About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v144.0.0