Keeping a Daily Log of All of Your Actions in Stata

It is very easy to keep a daily log of all of your actions in Stata. Stata is able to log each and every command issued. So using this you can record all of your commands and then go back to see the commands that you ran on a certain day.


To do this you need to edit your Stata profile.do file. The profile.do file is found on your your computer in the Stata directory. Just add these two lines of code and Stata will automatically save your commands to a log file for each day that you use Stata.


This version works on a Mac.

This version works on Windows


1 view

© 2020 by Survey Design and Analysis Services. 

  • LinkedIn
  • Facebook
  • Twitter