Statalist The Stata Listserver


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

st: list output to file - easily solved.


From   Steffen Hokland <hokland@MR.AU.DK>
To   statalist@hsphsun2.harvard.edu
Subject   st: list output to file - easily solved.
Date   Wed, 4 Oct 2006 13:43:46 +0200

As far as I know, Gnuplot can read tab- and comma-separated text
files, which can be produced by Stata's -outsheet- command.
Worked perfectly! Sorry for asking a FAQ.

Best regards,
Steffen
Hope this helps.

Jean


On 10/4/06, Steffen Hokland <HOKLAND@mr.au.dk> wrote:
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.

*
*   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/
___________________________________________
Steffen Lund Hokland, MSc.
PhD Student

The MR-Research Centre
Institute of Clinical Medicine
Aarhus University Hospital
Skejby Hospital
DK-8200 Aarhus
Denmark

Phone Office    :     +45 89495264
Phone Home    :    +45 48414828
Phone Mobile    :    +45 61307461

e-mail        :    hokland@mr.au.dk
___________________________________________


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