Stata News and Announcements Output and Interface

This page contains only historical information and is not about the current release of Stata. Please see our features page for information on the current version of Stata.

Order Stata 7 Upgrade to Stata 7 Call to order or upgrade

Improved output, SMCL, and logs
  Stata's output looks better thanks to the new output language called SMCL, which stands for Stata Markup and Control Language. Moreover, all Stata output, whether it be help files in the help window (now called the Viewer), help files in the Results window, or statistical output, is SMCL, meaning all features are available in all contexts. One implication is that if something is clickable, it is clickable regardless of the window in which it is displayed, so you can start by typing help anova and click on links just as you could had you pulled down Help and gone about displaying the help in the help window (Viewer).

Clickability is not limited to help files. You can write programs that display in their output clickable links. The corresponding action can even be the execution of another Stata command or program!

Stata 7 for Windows screenshot
(click to enlarge)


The help window is now called the Viewer because it serves more purposes than solely displaying help files. The Viewer, for instance, is where you look at logs you have previously created or are creating. That's because, by default, Stata logs are now SMCL files and the default file extension for log files is .smcl to remind you of that. When you type `log using myfile', myfile.smcl is created. The file is ASCII, so you can look at it (and even edit it) in your editor or word processor, but it is not a pretty sight.

Formatted, however, it is pretty. The Viewer can print the SMCL logs Stata now creates, and the new translate command can translate the SMCL file to PostScript format, or even standard ASCII text format, so you can get back to just where you were in Stata 6. Moreover, you can directly create old-style ASCII text logs if that is your preference; just type `log using myfile.log' or `log using myfile, text'.


To learn about all of this, see [U] 18 Printing and preserving output; also see [R] log and [R] translate. The Viewer can be accessed by pulling down File, or you can use the new view command, which provides some additional features.


Programmers will want to see [P] smcl for a complete description of SMCL. You can use SMCL in your ado-files.


There is one other log change: you can now create command logs (ASCII text logs containing only what you type, which used to be called noproc logs) using the new cmdlog command. Even better, you can create command logs and full session logs simultaneously.


Stata(console) for Unix users: All of the above applies to you, too, except that you cannot click. Stata(console) does not have a view command, but type can display .smcl files, and translate can translate them.

Stata now has a windowed GUI under X-windows for Unix
  Stata users operating under X-windows on Unix now have the same windowed interface that Stata for Windows and Stata for Macintosh users have: type xstata rather than stata to start Stata. Typing stata brings up the old line-by-line console version of Stata. Typing xstata brings up the new windowed version. The old console version can be still useful in batch situations.
Unix users now have access to the data editor, the do-file editor, and the log and variables windows. With the exception of a few operating-system dependent functions, Stata now looks and acts the same across all platforms.

Stata 7 for X Windows screenshot
(click to enlarge)

Graphics
  Stata now allows line styles, and more importantly, has a new graphics engine (programming environment) for the future development of new graphs.

Net search

  net search searches the web for user-written additions to Stata, including, but not limited to, user-written additions published in the STB and additions submitted to statalist. It provides quick and easy access to the hundreds of statistics, graphics, and data management commands written by Stata users. net search can display information about an addition, display an addition's help file, and install or uninstall an addition, all with just a few mouse clicks.

Since Stata 7 was released, a new findit command has been introduced; see help findit.

Shells to the operating system
  There are now three shell-like commands, depending on your operating system: shell, xshell, and winexec. Stata for Windows users: nothing has changed. Stata for Macintosh users: nothing has changed. Stata(console) for Unix users: nothing has changed. Stata(GUI) for Unix, however, is more complicated, and it all has to do with whether you want a new xterm window created for the application.

Order Stata 7 Upgrade to Stata 7 Call to order or upgrade


Contact StataCorp

Home   |   Site Index   |   Info   |   Bookstore   |   Order Stata   |   Support   |   FAQs   |   News   |   Search

Contact [email protected] with comments or suggestions about this website.

© Copyright 2004 StataCorp LP.   Terms of Use.   Privacy Notice.