IDEAS home Printed from https://ideas.repec.org/p/wbk/wbgpmt/43.html
   My bibliography  Save this paper

CACHE: A Generalized Mechanism for Storing and Replaying Any Stata Command

Author

Listed:
  • R. Andres Castaneda Aguilar
  • Damian Clarke

Abstract

In this paper we describe the Stata program cache, which allows for the full output of any Stata command to be cached to disk, enabling easy recovery of command output in the future without the need for re-computation. The cache program interacts with any native Stata or user-written command, allowing for caching of any elements returned by Stata commands, including matrices, scalars, graphs, data and frames, as well as command output itself. This command is useful for improving programming practices and efficiency, particularly in cases where the underlying Stata commands are computationally intensive and slow to run.

Suggested Citation

  • R. Andres Castaneda Aguilar & Damian Clarke, 2025. "CACHE: A Generalized Mechanism for Storing and Replaying Any Stata Command," Global Poverty Monitoring Technical Note Series 43, The World Bank.
  • Handle: RePEc:wbk:wbgpmt:43
    as

    Download full text from publisher

    File URL: https://documents.worldbank.org/en/publication/documents-reports/documentdetail/099852205292517348
    Download Restriction: no
    ---><---

    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:wbk:wbgpmt:43. 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.

    We have no bibliographic references for this item. You can help adding them by using 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: Roula I. Yazigi (email available below). General contact details of provider: https://edirc.repec.org/data/dvewbus.html .

    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.