Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Do file refusing to open


From   Daniel Egan <[email protected]>
To   [email protected]
Subject   Re: st: Do file refusing to open
Date   Wed, 17 Nov 2004 22:56:57 -0500

I would suggest reading up on text editors (other than notepad) at
http://fmwww.bc.edu/repec/bocode/t/textEditors.html.  I do not know
that you can increase the memory of the text editor.

My trick:
I keep one do file in the do file editor, which references the files I
have in my text editor. That way you don't mess around with the
master, but can change the subfiles at will.

 I personally use crimson editor. It has one screen, on the top of
which there are tabs. Each of these tabs represents a file, thus I
have

[master.do] [sub1.do][sub2.do][subN.do]

where master.do says "do sub1, do sub2" etc. Its extremely easy to
keep on top of files that way. Crimson also has syntax highlighting
which is useful, as well as the other nifty text editing tricks that
the stata editor does not.

If you are even more ambitious, you can read up on invoking stata from
the text editor, a trick I have heard of but never tried.

Dan

. Sometimes when I try to open a do
> file I get the message:
> "Could not open file because it is larger than 32000 bites". Of course
> I can always open it as an ASCII e.g. in Notepad, then edit it as
> needed, then run it by typing do c:\...\myfile.do but that is rather
> tedious if I am interacting frequently between running and editing. Any
> ideas how I can increase the "memory" of the do file opener? I have
> broken the file down into smaller do files but I can't keep doing that
> as it becomes hard to overview the programme.
> Any suggestions welcome.
> Thanks,
> Tewodaj
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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