Statalist


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

st: Wide .csv file is too wide


From   "Dan Weitzenfeld" <dan.weitzenfeld@emsense.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Wide .csv file is too wide
Date   Thu, 17 Jul 2008 16:52:36 -0700

Hi All,
Some non-Stata-using colleagues elsewhere in the company have created
comically wide .csv files (27,600 columns, 62 rows).  I would like to
insheet the files and -xpose- them to a saner structure, but Stata
won't accept them:

insheet using "${filename}", comma clear
too many variables specified
error in line 62 of file
r(103);

Two questions:
-Assuming the problem is that the width of the .csv file exceeds the
max width of a dataset in Stata, is there a workaround to this issue?
-Any idea why Stata is telling me "error in line 62 of file"?  Why the
last row, when many other rows have the same width issue?

Thanks in advance,
Dan
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index