Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: outfile question


From   Peter Adamson <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: outfile question
Date   Thu, 21 Nov 2002 15:17:35 -0000

Hi,

I am wanting to output variables to a text file for use by another program.
The format of the stata data file is something like:

var1%9.0g var2%9.0g var3%9.0g etc ...

and the format I want is:

var1%9.0g
var2%9.0g var3%9.0g etc ...

Is there a way to do this using the outfile command?  Ideally I want to
write a Carriage Return character to the file to force a new line.  Any
suggestions welcome!

peter 

-----------------------------------------------------
Peter Adamson 
Leukaemia Research Fund 
Epidemiology and Genetics Unit             
Margaret Smith Building                    .-.
University of Leeds                       /   \
30 Hyde Terrace                       E .   G   . U  
LEEDS LS2 9LN                        _ /         \ _
+44 (0)113 3433578 direct line
+44 (0)113 2459806 fax

http://www.lrf.leeds.ac.uk/
-----------------------------------------------------
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index