Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Running do files one line at a time


From   Anthony Staines <anthony.staines@ucd.ie>
To   statalist@hsphsun2.harvard.edu
Subject   st: Running do files one line at a time
Date   Wed, 19 Jun 2002 09:16:50 +0100

Hi,
I'm using Stata to demonstrate some points in a lecture - doing graphs, regressions, t-tests etc. 'live' so to speak. I'm not sufficiently fluent with Stata to write it on the fly, especially for graphics commands.

What I would like to do is to prepare a do file in advance, and step through it, execute it, one line (or one statement) at a time. I can't see any obvious way to do this in Stata.

I'm sure the answer is very obvious, but I am failing to see it!
Thank you,
Anthony Staines
--
Anthony Staines, Lecturer in Epidemiology, Department of Public Health,
UCD, Earlsfort Terrace, Dublin2, Ireland. http://phm.ucd.ie/
E-mail :- Anthony.Staines@ucd.ie Web :- http://astaines.ucd.ie/
Work :- + 353 1 716 7345 Fax :- +353 1 716 7407
Home :- + 353 1 849 1089 Mobile :- +353 1 86 606 9713

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index