[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: How do I outfile a set of variables with no delimeters?
> I want to output a rectangular data set to a text file,
> just compact lines of digits. I.e., the inverse of "infix" with a
> containing format statements.
> so I want the data to look like this
> Can this be done without having to convert byte variables
> to string and
> using the runtogether option?
I am not clear what the objection is to string conversion.
However, I don't know an alternative other than -file-.
. egen everything = concat(varlist)
is one easy way to pack a bundle of byte variables into
a single string variable, subject to the limit on string
variables in your Stata, after which
. outfile everything using ... , runtogether
* For searches and help try: