Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st:tips to manage multiple do files?


From   Man Jia <[email protected]>
To   [email protected]
Subject   st:tips to manage multiple do files?
Date   Thu, 18 Sep 2008 11:10:15 -0400 (EDT)

Hi all,

I was wondering if anyone could share any tips of managing many do 
files for one research project. Thanks for your help!
----------------------------------------------
(1) How to make it easy to find some specific work in several do files?

 Now I have to open most of them to see if the file has the part I'm 
looking for. The thing is, it is kind of hard to remember clearly  the 
content of each file after even two or three days not working with 
them. I tried to write outline in the beginning of each file, but I 
have to open each of them to get the outline.
----------------------------------------
(2) detailed comments in do files
 For me  it's useful to have detailed comments to explain what I'm 
doing in most parts in a do file. Those details include what the 
commands are doing, anything I should be careful with in future, 
sources I get the ideas, why the alternative ways are not good, summary 
of the results..... But a do file has limitation of number of lines in 
it. So, Writing a lot of comments means I have to create many do files. 

So, is there any good habit to deal with this? Is it better that in do 
files just add concise comments and take notes in other files?
----------------------------------------------------
Thanks for your time! I really appreciate it.
Mandy
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index