IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0286761.html
   My bibliography  Save this article

rang: Reconstructing reproducible R computational environments

Author

Listed:
  • Chung-hong Chan
  • David Schoch

Abstract

A complete declarative description of the computational environment is usually missing when researchers share their materials. Without such description, software obsolescence and missing system components can jeopardize computational reproducibility in the future, even when data and computer code are available. The R package rang is a complete solution for generating the declarative description for other researchers to automatically reconstruct the computational environment at a specific time point. The reconstruction process, based on Docker, has been tested for R code as old as 2001. The declarative description generated by rang satisfies the definition of a reproducible research compendium and can be shared as such. In this contribution, we show how rang can be used to make otherwise unexecutable code, spanning fields such as computational social science and bioinformatics, executable again. We also provide instructions on how to use rang to construct reproducible and shareable research compendia of current research. The package is currently available from CRAN (https://cran.r-project.org/web/packages/rang/index.html) and GitHub (https://github.com/chainsawriot/rang).

Suggested Citation

  • Chung-hong Chan & David Schoch, 2023. "rang: Reconstructing reproducible R computational environments," PLOS ONE, Public Library of Science, vol. 18(6), pages 1-14, June.
  • Handle: RePEc:plo:pone00:0286761
    DOI: 10.1371/journal.pone.0286761
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0286761
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0286761&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0286761?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Peng, Roger, 2003. "Multi-dimensional Point Process Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 8(i16).
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Breznau, Nate & Rinke, Eike Mark & Wuttke, Alexander & Adem, Muna & Adriaans, Jule & Akdeniz, Esra & Alvarez-Benjumea, Amalia & Andersen, Henrik K. & Auer, Daniel & Azevedo, Flavio & Bahnsen, Oke & Ba, 2025. "The reliability of replications: a study in computational reproductions," EconStor Open Access Articles and Book Chapters, ZBW - Leibniz Information Centre for Economics, vol. 12(3), pages 1-23.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. repec:jss:jstsof:08:i16 is not listed on IDEAS
    2. repec:jss:jstsof:12:i06 is not listed on IDEAS
    3. Adhitya Ronnie Effendie & Kariyam & Aisya Nugrafitra Murti & Marfelix Fernaldy Angsari & Gunardi, 2022. "Classifying Insurance Reserve Period via Claim Frequency Domain Using Hawkes Process," Risks, MDPI, vol. 10(11), pages 1-21, November.
    4. Lamprinakou, Stamatina & Barahona, Mauricio & Flaxman, Seth & Filippi, Sarah & Gandy, Axel & McCoy, Emma J., 2023. "BART-based inference for Poisson processes," Computational Statistics & Data Analysis, Elsevier, vol. 180(C).
    5. repec:jss:jstsof:35:i08 is not listed on IDEAS

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0286761. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.