Dear Roger:
It's really perfect. Everything works, including the headline title.
Thanks again for your time.
Best regards
Herve
***********************************************************
Professeur/Professor
Coordinateur du D�partement/Head of Department
HEC Paris
D�partement Comptabilit� Contr�le de gestion / Dept of Accounting and Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
[email protected]
http://campus.hec.fr/profs/stolowy/perso/home.htm
>>> [email protected] 10/10 3:45 pm >>>
At 13:53 10/10/2005, Herve wrote:
>Dear Roger:
>
>Thank you for your detailed reply. Unfortunately, it does not work. Here
>are my command lines:
>
>listtex name using table_countries.txt if sample39_absence==1,
>rstyle(tabdelim) replace
>
>listtex name using table_countries.txt if sample32_absence==1,
>rstyle(tabdelim) appendto(table_countries.txt)
>
>I get the following error message:
>
>file table_countries.txt already exists
>
>I must do something wrong somewhere.
What you are probably doing wrong is putting the same filename as the
-using- file and the -appendto()- option. Assuming that you want to create
a file -table_countries.txt- and then append to it, you should type
listtex name using table_countries.txt if sample39_absence==1,
rstyle(tabdelim) replace
listtex name if sample32_absence==1, rstyle(tabdelim)
appendto(table_countries.txt)
The -using- file, if it already exists is overwritten (not appended to) if
-replace- is specified, and otherwise causes the error message that you got.
I hope this helps.
Roger
--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom
Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/
Opinions expressed are those of the author, not the institution.
*
* 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/
*
* 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/