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   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
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

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

http://www.maartenbuis.nl
--------------------------


      

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