Computational laboratory for economics with R