Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: outsheet throws away varnames in unix
From
tashi lama <[email protected]>
To
<[email protected]>
Subject
RE: st: outsheet throws away varnames in unix
Date
Fri, 21 Sep 2012 20:29:59 +0000
I had outfile instead of outsheet ): Thank you very much and have a nice weekend
> Date: Thu, 20 Sep 2012 16:17:18 -0500
> Subject: Re: st: outsheet throws away varnames in unix
> From: [email protected]
> To: [email protected]
>
> This is more than likely some problem at your end.
>
> The following example:
>
> *----------------------------------------------
> clear
> set obs 5
> gen x1=runiform()
> gen x2=runiform()
> outsheet using test, comma replace
> *----------------------------------------------
>
> yields the exact same result (wrt variable names), whether it is run
> in Windows 7 or a Linux system (Fedora 17 in this case).
>
> J.
>
>
> On Thu, Sep 20, 2012 at 3:51 PM, tashi lama <[email protected]> wrote:
>> Hello all,
>> In windows
>> outsheet using tt, comma generates a comma delimited text file with variable names in the first line. Great.
>> type,hits
>> 0,7881
>> 1,8237
>> |
>>
>> In unix
>> outsheet using tt, comma generates a comma delimited text file with variables names left out. The file only contains data.
>> 0,7881
>> 1,8237
>>
>> I am sure this is yet another platform issue. Could someone know the solution to also get varnames along with data in unix??
>>
>> Thanks,
>> Tashi
>>
>> *
>> * 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/
*
* 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/