Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: list output to file


From   Steffen Hokland <HOKLAND@MR.AU.DK>
To   statalist@hsphsun2.harvard.edu
Subject   st: list output to file
Date   Wed, 4 Oct 2006 12:46:28 +0200

I'm trying to output the result of a 'list'-command:

list Heat_time TGT5 if Temp == 40.5 & OXi == 1 & TGT5 != ., noobs clean noheader

to a file:

file open regression using regression_test.dat, write text

using the

file write regression <something-appropriate-pertaining-to-the-list- command>

command (because I want to use Gnuplot to plot my data, albeit it's probably not comme ille faut on this list). Obviously it can be done using a log-file, however I'd like to be able to direct the output to a specified file.

Thanks for any suggestions,
Steffen
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index