knitr

knitr: A General-Purpose Package for Dynamic Report Generation in R. This package provides a general-purpose tool for dynamic report generation in R, which can be used to deal with any type of (plain text) files, including Sweave, HTML, Markdown, reStructuredText, AsciiDoc, and Textile. R code is evaluated as if it were copied and pasted in an R terminal thanks to the evaluate package (e.g., we do not need to explicitly print() plots from ggplot2 or lattice). R code can be reformatted by the formatR package so that long lines are automatically wrapped, with indent and spaces added, and comments preserved. A simple caching mechanism is provided to cache results from computations for the first time and the computations will be skipped the next time. Almost all common graphics devices, including those in base R and add-on packages like Cairo, cairoDevice and tikzDevice, are built-in with this package and it is straightforward to switch between devices without writing any special functions. The width and height as well as alignment of plots in the output document can be specified in chunk options (the size of plots for graphics devices is also supported). Multiple plots can be recorded in a single code chunk, and it is also allowed to rearrange plots to the end of a chunk or just keep the last plot. Warnings, messages and errors are written in the output document by default (can be turned off). The large collection of hooks in this package makes it possible for the user to control almost everything in the R code input and output. Hooks can be used either to format the output or to run R code fragments before or after a code chunk. The language in code chunks is not restricted to R (there is simple support to Python and shell scripts, etc). Many features are borrowed from or inspired by Sweave, cacheSweave, pgfSweave, brew and decumar.


References in zbMATH (referenced in 22 articles )

Showing results 1 to 20 of 22.
Sorted by year (citations)

1 2 next

  1. Baumer, Benjamin S.; Kaplan, Daniel T.; Horton, Nicholas J.: Modern data science with R (2017)
  2. Charles Driver and Johan Oud and Manuel Voelkle: Continuous Time Structural Equation Modeling with R Package ctsem (2017)
  3. Gentle, James E.: Matrix algebra. Theory, computations and applications in statistics (2017)
  4. Matthias Templ and Bernhard Meindl and Alexander Kowarik and Olivier Dupriez: Simulation of Synthetic Complex Data: The R Package simPop (2017)
  5. Michael Braun: sparseHessianFD: An R Package for Estimating Sparse Hessian Matrices (2017)
  6. Przemyslaw Biecek, Marcin Kosinski: archivist: An R Package for Managing, Recording and Restoring Data Analysis Results (2017) arXiv
  7. Sebastian Meyer and Leonhard Held and Michael Höhle: Spatio-Temporal Analysis of Epidemic Phenomena Using the R Package surveillance (2017)
  8. Anders Bilgrau; Poul Eriksen; Jakob Rasmussen; Hans Johnsen; Karen Dybkaer; Martin Boegsted: GMCM: Unsupervised Clustering and Meta-Analysis Using Gaussian Mixture Copula Models (2016)
  9. Hofner, Benjamin; Schmid, Matthias; Edler, Lutz: Reproducible research in statistics: a review and guidelines for the Biometrical Journal (2016)
  10. Maëlle Salmon; Dirk Schumacher; Michael Höhle: Monitoring Count Time Series in R: Aberration Detection in Public Health Surveillance (2016)
  11. Mathé, Ewy (ed.); Davis, Sean (ed.): Statistical genomics. Methods and protocols (2016)
  12. Harrell, Frank E. jun.: Regression modeling strategies. With applications to linear models, logistic regression, and survival analysis (2015)
  13. Heiberger, Richard M.; Holland, Burt: Statistical analysis and data display. An intermediate course with examples in R (2015)
  14. John Ehrlinger: ggRandomForests: Visually Exploring a Random Forest for Regression (2015) arXiv
  15. Matthias Templ; Alexander Kowarik; Bernhard Meindl: Statistical Disclosure Control for Micro-Data Using the R Package sdcMicro (2015)
  16. Carey, Vincent (ed.); Cook, Dianne (ed.): Four papers on contemporary software design strategies for statistical methodologists (2014)
  17. Gandrud, Christopher: Reproducible research with R and RStudio (2014)
  18. Verzani, John: Using R for introductory statistics (2014)
  19. Laurent Gatto, Andy Christoforou: Using R and Bioconductor for proteomics data analysis (2013) arXiv
  20. Philip Leifeld: texreg: Conversion of Statistical Model Output in R to LATEX and HTML Tables (2013)

1 2 next