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!
0 Response to Sending output to file _instead of_ Results window
Post a Comment