Statalist The Stata Listserver


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

Re: st: Outsheet using a nonstandard delimiter


From   "Austin Nichols" <austinnichols@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Outsheet using a nonstandard delimiter
Date   Wed, 8 Nov 2006 13:44:20 -0500

Julian--
The workaround is too easy to justify rewriting outsheet:

sysuse auto, clear
outsheet make price mpg using /test.txt if for==1
filefilter /test.txt /test2.txt, from(\t) to(|)
type /test2.txt


On 11/8/06, Julian Reif <julian.reif@bateswhite.com> wrote:
Is there a way to outsheet data using a delimiter that is not a tab or a comma?  I have a situation where data need to be outsheeted using a | ("pipe") delimiter.  Before rewriting outsheet, I'd like to make sure somebody hasn't done this already.  Thanks.

Julian Reif


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

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