Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: problems with clear command in v 10.1


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: RE: problems with clear command in v 10.1
Date   Thu, 2 Oct 2008 17:16:05 +0200

-which- shows that they were last changed in sep and dec 2007, respectively,
long before 10.1 came out. So Dave`s problem should have occurred back then
(unless he did not update between sep 2007 and now which would be odd...)


HTH
Martin


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Sergiy Radyakin
Sent: Thursday, October 02, 2008 5:11 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: RE: problems with clear command in v 10.1

label was built-in in Stata 9 and is implemented in .ado in Stata 10.
both label.ado and clear.ado are in updates directory, which means
they have changed since Stata 10 release.

1. create a .do file with a single command clear
run it
if there is an error: set trace on and run it. note the last file and
lines before the error.
clear must always work, if it does not, there is something with your
installation. make sure your update succeeded.

2. type:
which label
which clear

Post the response here

Regards, Sergiy Radyakin

On Thu, Oct 2, 2008 at 4:32 AM, Martin Weiss <martin.weiss1@gmx.de> wrote:
> Have you tried to run on the 10.1 machine with the -version 10.0-
statement
> on top of your do-files? What happens? -clear- is certainly not mentioned
in
> the -whatsnew- section, so your problem strikes me as odd...
>
>
> HTH
> Martin
>
> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of David Winter
> Sent: Thursday, October 02, 2008 10:23 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: problems with clear command in v 10.1
>
> Dear Colleagues,
>
> Following receipt of the recent newsletter, I have upgraded from version
> 10.0 to 10.1.
>
> I had written some .do files in version 9.x and they all work fine in
> version 10.0.  They include the -clear- command.
>
> I have just run some of these .do files and they now do not work.  When
they
> run the -clear- command the memory is cleared but the following messages
> appear:
>
> unrecognised command: label
> r(199);
>
> This also happens in version 10.1 from the command line, i.e
>
> use <any .dta file>
> clear
>
> (data is cleared from memory)
>
> unrecognised command: label
> r(199);
>
> What is the solution to this problem please?  I have tried all of the
above
> on a machine running version 10.0 without the update and all works
correctly
> with no errors.
>
> B/W,
>
> Dave
>
> ***********************************************************
> Mr David L. Winter, HNC
> IT Manager
> Centre for Childhood Cancer Survivor Studies
> Department of Public Health & Epidemiology
> University of Birmingham
> Edgbaston
> Birmingham
> B15 2TT
> UK
> tel: +44 (0)121 4146766
> fax: +44 (0)121 4147923
> email: d.l.winter@bham.ac.uk
> website: www.bccss.bham.ac.uk
> ***********************************************************
>
>
> *
> *   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/
>
>
> *
> *   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/
>
*
*   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/

*
*   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   |   What's new   |   Site index