COMPUTATIONAL ECONOMICS, cilt.64, sa.6, ss.1-25, 2024 (SCI-Expanded)
Dynare is a popular software for solving dynamic stochastic general equilibrium (DSGE) and overlapping generations (OLG) models. It is used along with Octave or Matlab. However, writing documents using Dynare outputs can be error-prone and time-consuming, as it requires copying and pasting the outputs into the document. To address this problem and ensure reproducibility, we create the DynareR R package. The package seamlessly integrates Dynare and R, extending R’s capabilities to estimate DSGE and OLG models using the Dynare engine. The package can be used with R, R Markdown and Quarto.