Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Log file

From   Maarten buis <>
Subject   Re: st: Log file
Date   Tue, 21 Sep 2010 12:46:36 +0000 (GMT)

--- 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 -------------

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index