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
Katia Bobulova <firstname.lastname@example.org>
Re: st: Nostop in do files
Fri, 22 Oct 2010 12:02:04 +0100
thank you for you answer.
The link to the solution that I mentioned is this one:
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?
2010/10/22 Neil Shephard <email@example.com>:
> On Fri, Oct 22, 2010 at 10:21 AM, Katia Bobulova
> <firstname.lastname@example.org> 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
> "Our civilization would be pitifully immature without the intellectual
> revolution led by Darwin" - Motoo Kimura, The Neutral Theory of
> Molecular Evolution
> Email - email@example.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: