Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Setting default .do file template?
From
Rebecca Pope <[email protected]>
To
[email protected]
Subject
Re: st: Setting default .do file template?
Date
Tue, 27 Nov 2012 08:15:19 -0600
Hi Andrew,
What do you mean by default template? Just the font, color, etc? Or
pre-programming a set of commands that you always put in your do-files
(this is what Scott Long advises in Ch 3 of Workflow).
If the former, change the preferences in Stata. If the latter, it is
just a matter of typing of creating a new .do file (call it e.g.
template.do), saving it in a location common to all of your projects,
and then starting with that file. Personally, I'd save it somewhere
with an easy to remember file path so you can just type -doedit
"filepath\template.do"- when you want to start a new file.
p.s. I know what you mean by search results... I tried to search for
your message to make sure there were no replies yet (had some delay
issues lately). Your post didn't even show up in the archives w/ the
search "do file template"; I had to browse by date!
Best,
Rebecca
On Tue, Nov 27, 2012 at 5:55 AM, <[email protected]> wrote:
>
> Dear all,
>
> My question: how to personalize the default .do file template when
> opening a new .do file editor?
>
> I had thought I saw a note in John Long's "Workflow of Data Analysis"
> book, but alas.... I've also done quite a few searches of the archives
> as well, but the search terms are too general. My apologies, as I
> suspect this has been aired before.
>
> cheers-
> Andrew Lover
>
>
> ----------------------------------------------------------------------------------
> Epidemiologist
> Centre for Infectious Disease Epidemiology Research (CIDER)
> Saw Swee Hock School of Public Health
> National University of Singapore
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/