Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: RE: RE: RE: RE: outfix2 and outfixt


From   "Prashant Shukla" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: RE: outfix2 and outfixt
Date   Thu, 18 Dec 2008 23:45:47 -0000

Nick thanks so much for your invaluable pointers. The -cap- option works
perfectly. And though I have a long way to go before understanding all
of it, -set trace on- is quite fascinating and I will remember to use it
in the future. Thanks a bunch once again.

-Prash.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Nick Cox
Sent: Thursday, December 18, 2008 4:17 PM
To: [email protected]
Subject: st: RE: RE: RE: outfix2 and outfixt

As I commented only a few hours ago, -set trace on- would enable you to
see where the program exits. 

There appears to be an undocumented option -cap- that you should also
specify to eat errors that arise with very long lines. 

It may be that Austin put this in and never got around to making it
automatic. 

So, to your command line add "cap". 

Nick 
[email protected] 

Prashant Shukla

I am having trouble using -outfixt- to export files that go beyond 400
positions. Maybe there is a limit I am supposed to reset somewhere but
what is happening is that -outfixt- works perfectly when the start
positions in cols are below 400 but when they go beyond 400 it gives me
a "invalid syntax, r(198) error". I kept everything else in the command
exactly the same, just adding an extra variable and its start position,
larger than 400, triggers the invalid syntax error.

For example:

quiet outfixt  a b c d e f g h i j k l m n o p q r s t u v w x y using
filename, replace
cols ( 1 4 12 20 28 36 46 56 68 83 93 123 138 146 151 153 159 168 176
181 192 200 211 331 339) format flist
( )

Works perfectly, but,

quiet outfixt  a b c d e f g h i j k l m n o p q r s t u v w x y z using
filename, replace
cols ( 1 4 12 20 28 36 46 56 68 83 93 123 138 146 151 153 159 168 176
181 192 200 211 331 339 413) format flist
( )

Gives the "ivalid syntax" error. I have checked the command many times
and everything else is identical. Can anyone who has used these before,
or Austin Nichols who wrote it, help me out? I just can't figure out
what I am doing wrong. 400 seems rather small to be a limit, and the
file I am using has up to 300 columns with width close to 4000. How can
I overcome this issue. Thanks a bunch,

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



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index