Statalist


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

st: RE: tips to manage multiple do files?


From   "Buzz Burhans" <[email protected]>
To   <[email protected]>
Subject   st: RE: tips to manage multiple do files?
Date   Fri, 19 Sep 2008 07:14:39 -0600

Mandy,

In Windows XP I use a text editor called EmEditor that allows you to
simultaneously search in all the files in a folder; it returns a new
document with hotlinks to all instances of the text searched for, and
following each hotlink is the text of the line containing the searched text.


Regular expressions can be used in the search.

Buzz  

Buzz Burhans, Ph.D. 

Dairy-Tech Group
Twin Falls, ID

Cell: 208-320-0829
Fax: 208-735-1289




Email: [email protected]
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Man Jia
Sent: Thursday, September 18, 2008 9:10 AM
To: [email protected]
Subject: st:tips to manage multiple do files?

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/

*
*   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