knitrdata: A Tool for Creating Standalone Rmarkdown Source Documents - Université de Montpellier
Article Dans Une Revue R Journal Année : 2022

knitrdata: A Tool for Creating Standalone Rmarkdown Source Documents

Résumé

Though Rmarkdown is a powerful tool for integrating text with code for analyses in a single source document exportable to a variety of output formats, until now there has been no simple way to integrate the data behind analyses into Rmarkdown source documents. The knitrdata package makes it possible for arbitrary text and binary data to be integrated directly into Rmarkdown source documents via implementation of a new data chunk type. The package includes command-line and graphical tools that facilitate creating and inserting data chunks into Rmarkdown documents, and the treatment of data chunks is highly configurable via chunk options. These tools allow one to easily create fully standalone Rmarkdown source documents integrating data, ancillary formatting files, analysis code and text in a single file. Used properly, the package can facilitate open distribution of source documents that demonstrate computational reproducibility of scientific results.
Fichier non déposé

Dates et versions

hal-04163898 , version 1 (17-07-2023)

Identifiants

  • HAL Id : hal-04163898 , version 1
  • IRD : fdi:010087699
  • WOS : 000971621200003

Citer

David M. Kaplan. knitrdata: A Tool for Creating Standalone Rmarkdown Source Documents. R Journal, 2022, 14 (4), pp.19. ⟨hal-04163898⟩
8 Consultations
0 Téléchargements

Partager

More