Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Rebecca Pope <rebecca.a.pope@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Reply: Setting default .do file template? |
Date | Tue, 27 Nov 2012 22:28:12 -0600 |
To my knowledge, no. Rebecca __o __o _`\ <,_ _`\ <,_ (_)/ (_) (_)/ (_) ========================= On Tue, Nov 27, 2012 at 8:53 PM, <graupel75@gmail.com> wrote: > 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: <graupel75@gmail.com> > Date: Tue, Nov 27, 2012 at 7:55 PM > Subject: Setting default .do file template? > To: Statalist <statalist@hsphsun2.harvard.edu> > > > 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/