Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Re: Listing user-written ado files called by program


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: Listing user-written ado files called by program
Date   Wed, 07 Sep 2011 10:58:42 -0500

At 01:27 AM 9/7/2011, Partho Sarkar wrote:
This may be a common situation:

Like most Stata users, I have accumulated a number of user-written
programs (mostly downloaded from the SSC server, but also some other
sources).  In a program I have written, I implicitly use some of these
user-written programs via commands (e.g., rtfutil, listtab etc.).  I
have to share this program with other colleagues/clients, who
obviously will not have these downloaded programs.  So I would like to
include a note with my program listing all the user-written programs
which my program uses.  Since there are many of these, in several of
my sub-routines spread over do files, it would be quite tedious to
manually track them down one-by-one.  Any suggestions?

Much as I like user-written programs, this kind of stuff makes me a little nervous since there is no guarantee that the user-written program won't have important changes across time. Stata works very hard for backward compatibility via version control, but that doesn't mean the authors of user-written programs will do the same. Depending on what you are doing, you might consider incorporating snippets of code from other programs and include acknowledgements in the comments. Barring that, you might just get in the habit of including comments in your code that indicate what SSC routines are required.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index