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]
st: long variable names and the browse/edit window
From
Kevin Geraghty <[email protected]>
To
[email protected]
Subject
st: long variable names and the browse/edit window
Date
Thu, 9 Dec 2010 09:16:40 -0800 (PST)
Is there any way to dynamically resize column widths in the browse/edit window so that they display long variable names (stata permits variable names up to 32 characters), instead of truncating them with a ~? The columns appear to size dynamically according to the width of variable data, but not with the width of the variable names.
So in fact if a variable is, say, str50, its name will never be truncated; one can in fact always eliminate variable name truncation for numeric variables by lengthening the display format for the variable in question, to, e.g. %25.0f.
I suppose one could create an .ado file command, e.g "wbrowse" which compared display format lengths with variable name lengths of all variables to be displayed, and lengthened the formats to be as wide as the variable name, before browsing/editing; but that seems a little drastic.
An annoying quirk, I am sure I am not the only person who has been frustrated by it.
*
* 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/