gretlR is an R package that allows running ‘gretl’ (http://gretl.sourceforge.net/index.html) program from R Markdown. ‘gretl’ (‘Gnu’ Regression, ‘Econometrics’, and Time-series Library) is a statistical software for Econometric analysis. This package serves as a ‘gretl’ Knit-Engine for ‘knitr’ package. Write all your ‘gretl’ commands in R Markdown chunk.