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]

Re: st: Log file with too much information


From   "Roger B. Newson" <r.newson@imperial.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Log file with too much information
Date   Mon, 22 Apr 2013 19:00:53 +0100

One possibility here is to use the -dolog- package, which you can download from SSC (if you want the Stata 12 version), or from my website (if you want the Stata 11, 10, 9, 8, 7 or 6 versions). The -dolog- package is used to execute do-files not containing any -log open- or -log close- statements, and supplies these for the user, specifying text logs. So, if you have installed -dolog-, then you can type

dolog mydofile

and Stata will execute -mydofile.do-, and send the output to a text log file -mydofile.log-.

I hope this helps.

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/

Opinions expressed are those of the author, not of the institution.

On 22/04/2013 18:26, Donald Spady wrote:
Because Stata in its wisdom decided that the .smcl format was the better default.  For some, it may be, but not for me.  So, use the -text- option when beginning a log.

Don

On 2013-04-22, at 10:14 AM, Miguel Angel Duran <maduran@uma.es> wrote:

Will anyone please help to know why my log files are full of letters between
brackets like {smcl} {txt} {sf} {ul off} {com} {col}? Is there a way to
prevent these from being shown? Thank you.

Best,
Miguel.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


Donald Spady

--
dspady@ualberta.ca





*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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