Bookmark and Share

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]

st: Reply: Setting default .do file template?


From   [email protected]
To   Statalist <[email protected]>
Subject   st: Reply: Setting default .do file template?
Date   Wed, 28 Nov 2012 10:53:13 +0800

Dear Rebecca,

Thanks for the response!  I am hoping to have the second of your
options- when opening a new .do file, I'd like my general header
information and pre-analysis commands to appear by default:

************************************************
* Project:
* Analyst:
* Date:
* This file:
************************************************

version 12
clear all
macro drop _all

Your suggestion of -doedit "filepath\template.do"- will certainly
work, but is there a way to change the default file? (A minor detail,
yes, I know!).

cheers, and thanks again-

Andrew Lover
----------------------------------------------------------------------------------
Epidemiologist
Centre for Infectious Disease Epidemiology Research (CIDER)
Saw Swee Hock School of Public Health
National University of Singapore


---------- Forwarded message ----------
From:  <[email protected]>
Date: Tue, Nov 27, 2012 at 7:55 PM
Subject: Setting default .do file template?
To: Statalist <[email protected]>


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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index