Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: Log file
From
Nick Cox <[email protected]>
To
"'[email protected]'" <[email protected]>
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
[email protected]
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/