Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Nostop in do files


From   Katia Bobulova <katia.bobulova@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Nostop in do files
Date   Fri, 22 Oct 2010 12:02:04 +0100

Dear Neil,

thank you for you answer.

The link to the solution that I mentioned is this one:

http://www.stata.com/statalist/archive/2004-02/msg00140.html

However, I tried your solution, but is doesn't work.

I opened my data and my do file. Usually I click on the button for the
do file. I tried to type do myfyle, nostop

but I receive an error message: fyle myfile.do not found

what I am doing wrong?

thank you
Katia

2010/10/22 Neil Shephard <nshephard@gmail.com>:
> On Fri, Oct 22, 2010 at 10:21 AM, Katia Bobulova
> <katia.bobulova@googlemail.com> 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 - nshephard@gmail.com
> 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/
>

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index