Statalist


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

Re: st: Issue with log file


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   Re: st: Issue with log file
Date   Fri, 9 Jan 2009 21:42:36 +0100

As Nick said, you never really want to tie your hands by logging as .txt, because Stata can -translate- its .smcl log to txt afterwards as in

*********
log using mylog, name(newlog)
sysuse auto, clear
reg p w r
log close newlog
translate mylog.smcl mylog.txt
!start mylog.txt
*********

HTH
Martin
_______________________
----- Original Message ----- From: "Friedrich Huebler" <[email protected]>
To: <[email protected]>
Sent: Friday, January 09, 2009 9:25 PM
Subject: Re: st: Issue with log file


Tu,

Use the extension "txt" when you specify the name of the log file and
add the -text- option.

. log using filename.txt, text

Friedrich

On Fri, Jan 9, 2009 at 1:59 PM, Tu Nguyen <[email protected]> wrote:
Hello,

Could anyone please help me resolve this issue:

In STATA when I try to create a log file using the command -- log using filename.log -- a SAS log file is automatically created (I have both SAS and STATA installed in my computer). In brief, it seems that only a smcl log file could be created in STATA, but not a text log file.

What should I do to fix this problem?

Thank you,
Tu Nguyen
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index