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
Katia Bobulova <[email protected]>
To
[email protected]
Subject
Re: st: Nostop in do files
Date
Fri, 22 Oct 2010 16:19:43 +0100
The option could be dangerous, but it is useful for preliminary analysis.
I have bot the data and the do files in the same folder.
So I open the dataset and then I type:
do 2000, nostop
where 2000 is the name of my do file I receive the message file
2000.do not found
Could you please help me to solve this problem?
thank you for your help
Katia
2010/10/22 Maarten buis <[email protected]>:
> --- On Fri, 22/10/10, Katia Bobulova wrote:
>> The link to the solution that I mentioned is this one:
>>
>> http://www.stata.com/statalist/archive/2004-02/msg00140.html
>
> I agree with Nick, that the -nostop- option is a very dangerous
> option, and I would not use it. -capture- is the much much much
> saver alternative.
>
>> 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?
>
> It means that the file "myfile.do" does not exist in your
> current directory.
>
> The way to do this is to create a .do file that does
> whatever you want to do, and store that .do file. This
> means that it has a name and is located in some directory.
> Use -cd- to change your current directory to that directory.
> Than use -do myfile.do, nostop- to run your .do file.
> However, the part -myfile.do- should ofcourse be replaced by
> the name you used to for your .do file. However, I repeat
> my earlier point that you should not use the -nostop-
> option, it is dangerous.
>
> Hope this helps,
> Maarten
>
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
>
> http://www.maartenbuis.nl
> --------------------------
>
>
>
>
> *
> * 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/