Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Thanks for the bug fix in the new Stata update


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   Statalist <statalist@hsphsun2.harvard.edu>
Subject   st: Thanks for the bug fix in the new Stata update
Date   Wed, 17 Feb 2010 14:31:53 +0000

Thanks to all at StataCorp for the latest Stata update (dated 11 February 2010), which I have installed, and which fixes a particularly aggravating bug, which caused -graph twoway- to fail if there were commas in value labels for variables in the by-option.

For instance, in the -auto- data, if I type

sysuse auto, clear
lab def foreign 0 "From the good old US of A, y'all" 1 "Alien junk"
lab val foreign foreign
scatter mpg weight, by(foreign)

then the graph is now created without any trouble. It used to fail in the previous few versions, on account of the comma in the value label.

The new -putmata- and -getmata- commands also look as if they might be useful, although, as the documentation makes clear, it would be bad practice to use them in ado-files.

Best wishes

Roger

--
Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index