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

st: Re: Re: labels


From   "Michael Blasnik" <[email protected]>
To   <[email protected]>
Subject   st: Re: Re: labels
Date   Thu, 31 Jul 2003 10:13:30 -0400

As stated in the on-line help file, after you type
label save filename

Stata saves filename.do which defines the labels and can be run using like
any .do file.  Specifically, you can get these labels back by typing:

run filename
or
do filename

depending on whether you want to see the lines execute.

I can't tell from your message what you typed exactly, but I think the help
is fairly self-explanatory on this topic.

Michael Blasnik
[email protected]



----- Original Message ----- 
From: "Martyn Sherriff" <[email protected]>
To: <[email protected]>
Sent: Thursday, July 31, 2003 6:51 AM
Subject: st: Re: labels


> I often need to use the same set of labels, typically 30 separate labels,
on
> different datasets. I have saved the labels using "label save filename",
but
> when I try to reuse them on the new data set using "uselabel" I get error
> r(198) invalid name. What is the correct syntax for reusing the labels in
> Stata 8.
> Thanks,
> Martyn
>
> Dr. Martyn Sherriff
> Senior Lecturer, Dental Biomaterials Science,
> GKT Dental Institute,
> Floor 17, Guy's Tower,
> London Bridge, London SE1 9RT
> e-mail: [email protected]
> Tel. 44(0)-20-7955-4550, Fax. 44(0)-20-7955-2963
> Departmental Home Page: www.umds.ac.uk/dental/dms/
> Youth Rugby: www.fullerians.demon.co.uk
>
> "The difference between winners and losers is that winners tell the jokes
> and the losers talk about the run of the ball."
>


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