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   Wed, 27 Apr 2011 10:53:51 +0100 (BST)

--- On Wed, 27/4/11, Humaira Asad wrote:
> I always save my log file when I work on Stata but when I
> want to see the previous log file through
> FILE>VIEW>LOG FILE
>  
> I see few outputs in the beginning of the file and can't
> see the whole log file. How can i access the complete log
> file? or how to I save it to view it complete?

I am not quite sure what you mean. May a concrete example
like the one below can help clarify your question. If you 
run the example below it will at the end show what I would 
consider a complete log file. How does this example change 
from what you are doing, or do you want to see more in your 
log-file?

Hope this helps,
Maarten

*----------- begin example -----------
// change this directory to one
// that exists on your computer
cd c:/temp

log using foo.smcl, replace

sysuse auto, clear
sum mpg
reg price foreign rep78

log close

view "foo.smcl"
*------------ end example -------------
(For more on examples I sent to the Statalist see: 
http://www.maartenbuis.nl/example_faq )

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