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 at the end of May, 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


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: Log file
Date   Tue, 21 Sep 2010 14:04:36 +0100

-log2html- from SSC is a wrapper for -log html- and adds a few extra bells and whistles. 

Nick 
n.j.cox@durham.ac.uk 

Maarten buis

--- On Tue, 21/9/10, Vassilopoulos Achilleas wrote:
> After running a complex procedure, I have a huge log file
> of more than 3,000,000 lines in smcl format. I'm
> interested in the last few lines of the file, where all
> the results are displayed in matrices. The problem is that
> it is impossible to go there using -page down- or the
> cursor on the side because it takes ages.

You can transform smcl log files quite easily into html log
files, which may be easier to handle. I have not tried this
in huge log files, but this approach may work for you:

*------------ begin example ------------
// make a log file
cd c:\temp
tempfile a 
log using `a'
sysuse auto, clear
reg mpg foreign i.rep78
log close

// transform it into html
log html `a' test, replace

// open it
view browse "test.html"
*------------- end example -------------


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