Hi Austin,
As I am using -outfixt- I realize that I need to specify all the columns
again in the command with the -format- option in addition to writing all
the variables under the -varlist- option.
Since, I already have all the variables named, aligned, and formatted
correctly in my dataset; and I am dealing with as many as 300 variables
in one dataset, is there a way to avoid using these options and just
select all the variables by default and use the same format as I have
specified in the program? This would be huge for me.
Also, I am using a path and a file name inside quotations to export the
file to the desired location. The command displays the dataset in the
output window, with breaks, which is not the intention. And the full
file is not exported either. I think only the portion of dataset that
the output window can accommodate before the first break is being
exported. What am I doing wrong?
-Prash.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Austin
Nichols
Sent: Tuesday, December 09, 2008 10:54 AM
To: [email protected]
Subject: Re: st: outsheet txt files with one space between columns
Prashant Shukla <[email protected]>
For fixed width output, try
ssc inst outfixt
On Tue, Dec 9, 2008 at 12:19 PM, Prashant Shukla
<[email protected]> wrote:
> Hi All,
>
> I am using -outsheet- to transfer data as txt files. The file needs to
> be loaded into a system which requires only one space between the
> columns. This is because the files need to be fixed with and when they
> are tab separated, they have multiple spaces between the columns. So
the
> file ends up not being the width we want and all the columns after the
> first one do not have the required start and end positions.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/