Stata
 

 rexe.ado

rexe_example.do 

You will also need rsource. In Stata, type findit rsource and follow the instructions.