[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Stata/SE 10 very slow reading program code

From   Maarten buis <>
Subject   Re: st: Stata/SE 10 very slow reading program code
Date   Mon, 3 Mar 2008 09:08:19 +0000 (GMT)

--- Richard Williams <> wrote:
> Stata 10: When I copy the code into a do file and run it, it takes 
> about a second, same as Maarten.  But when I copy the code into the 
> command window, it takes 18 seconds.

Ah, that is unexpected behaviour, though in my case it takes about 8

There are three things you can do, that are both more convenient, and
avoid this problem. First, you can open the do-file editor and run it
from there, as described in

Second, you can type in stata

Or of course -do path/ , where path the where the do file is
stored on your computer.

Third,  you can store the three programs in separate files with the
extension ado instead of do in in your personal adopath. You can find
where that is by typing -adopath- within Stata. Once you have done
that, the programs will be directly available every time you use Stata
on that computer as any other Stata program.

Hope this helps,

Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

Sent from Yahoo! Mail.
A Smarter Inbox.
*   For searches and help try:

© Copyright 1996–2019 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index