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

Re: st: RE: upgrading to v10: do-file won't load

From   "Michael S. Hanson" <>
Subject   Re: st: RE: upgrading to v10: do-file won't load
Date   Fri, 7 Nov 2008 19:00:06 -0500


Just noticed your messages. Since you are using a Mac, let me suggest the following to get started using an external text editor with Stata:

1. Download and install TextWrangler -- it's a free but relatively powerful text editor from BareBones Software: <http://>

2. Download and install the Stata support files (scripts and language module) from Dataninja: < stata-scripts/>. These will provide some basic syntax highlighting, Stata-specific commands (such as comment/uncomment with a keystroke), and the ability to run .do files (or selections of a .do file) in Stata by just pressing a specific keystroke in TextWrangler.

3. Once you are comfortable with this set-up, start investigating other text editors to see if their additional power/flexibility is worth their additional price (monetary and/or time investment). All the non-free editors listed below have a free trial period. Although changing one's text editor borders on religious conversion for some people, if you are not currently wedded to a particular editor I'd recommend exploring several alternatives to find which is most consistent with your work style and level of coding sophistication. Here are some very good text editors on the Mac that you might investigate:

BBEdit: Popular big brother of TextWrangler <http://> TextMate: Popular, unix-inspired programmer's editor <http://> Smultron: Free editor with extensive MacOS integration <http://> jEdit: Cross-platform java-based editor <http://>
MacVim:  GUI port of unix vim editor  <>
Carbon Emacs: Port of unix emacs editor < zenitani/emacs-e.html>

As always, the easiest way to learn how to exploit the power of a text editor (or any program) is to find a friend or colleague who is already an expert!

Hope this helps,

P.S. In addition to Dataninja, some additional useful links and information can be found at the "Stata on a Mac" blog: <http://>. (Neither site is mine.)

On Nov 4, 2008, at 9:36 PM, Michael McCulloch wrote:

Thanks Friedrich for the reference to external editors.
*   For searches and help try:

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