EconPapers    
Economics at your fingertips  
 

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

R. Andres Castaneda Aguilar and Damian Clarke

No 43, Global Poverty Monitoring Technical Note Series from The World Bank

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.

Pages: 25 pages
Date: 2025-05
References: Add references at CitEc
Citations:

Downloads: (external link)
https://documents.worldbank.org/en/publication/doc ... l/099852205292517348 (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:wbk:wbgpmt:43

Access Statistics for this paper

More papers in Global Poverty Monitoring Technical Note Series from The World Bank 1818 H Street, N.W., Washington, DC 20433. Contact information at EDIRC.
Bibliographic data for series maintained by Roula I. Yazigi ().

 
Page updated 2025-07-20
Handle: RePEc:wbk:wbgpmt:43