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: Nostop in do files
From
Neil Shephard <[email protected]>
To
[email protected]
Subject
Re: st: Nostop in do files
Date
Fri, 22 Oct 2010 10:28:50 +0000
On Fri, Oct 22, 2010 at 10:21 AM, Katia Bobulova
<[email protected]> wrote:
> Dear all,
>
> I wrote a do file and I am using it with my dataset. For some
> observation I cannot reach a result, but to me it is fine and I would
> like to have the results for the other observations.
>
> However, the do file stops for those observations for which is not
> possible to have a result.
>
> I would like to avoid this and using the nostop option.
>
> I found a similar question to Statalist and I followed the solution suggested.
>
> this is what I did:
>
> My Computer -> View -> Folder Options -> File Types -> edit > Stata
> do file ->> edit -> then change the "Application used to
>> perform action:" to> "C:\Program Files\Stata10\wstata.exe" doedit %1,nostop"
>
> but it doesn't work.
>
> Could you please help me to understand what I did wrong?
Sounds rather convoluted and without a link to the solution you
mention it looks like its something to do with the do-file editor (its
very easy to cite such sources in emails by copying and pasting the
URL into the email).
Why not just call your do-file with the -, nostop- option as described in...
SJ-6-2 pr0023 . . . . . . . . . . . . . . . . . . Stata tip 32: Do not stop
. . . . . . . . . . . . . . . . . . . . . . . . . . . . S. P. Jenkins
Q2/06 SJ 6(2):281 (no commands)
tip for using the do command's nostop option
When running your do-file simply type...
do my_script, nostop
Neil
--
"Our civilization would be pitifully immature without the intellectual
revolution led by Darwin" - Motoo Kimura, The Neutral Theory of
Molecular Evolution
Email - [email protected]
Website - http://kimura-no-ip.org/
Photos - http://www.flickr.com/photos/slackline/
*
* 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/