I have a do-file that produces a lot of output from various types of commands. I would like to store this output in a file to look at later, but without having it clutter up the Results window.
I am aware of the log command, but I seem to have to choose between two scenarios: if I run the program quietly, then output is not shown in the Results window, nor gets recorded in the log file; or if I do the program noisily, I end up with the output in both places. I really want to avoid cluttering up my Results window. For instance, I would like to be able to scroll up to visually see the output of commands I entered interactively before, but these previous results disappear from screen due to sheer volume of output being generated by my do-file.
I am also familiar with the file command to pipe specific things to a text file, but I am not sure using it is practical to capture output from the variety of commands that generate output in my do-file.
I would really appreciate your thoughts on how to do this. Thank you in advance!
Related Posts with Sending output to file _instead of_ Results window
interaction variable with i. operatorI want to run the following regression Code: reghdfe ABPROD BORDERLINE POST BORDERLINE_POST i.sic…
Difference-in-Difference with continuous variables and fixed effectsDear Stata friends I try to run a difference-in-difference regression with a continuous treatment (…
discrete-time survival analysis (xtcloglog)Hi everyone, I am running a discrete-time survival analysis about firm survival on an unbalanced pan…
How to count each binary variables and only generate one variable to include all count information?Hi there, I have a set of binary variables and each of them stands for a certain health disease (e.…
Double loops in Stata?Dear All, I want to do the following: Code: local replace replace forvalues i = 2007(1)2017 { for…
Subscribe to:
Post Comments (Atom)
0 Response to Sending output to file _instead of_ Results window
Post a Comment