Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: insheet returns "not enough variables" error


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: insheet returns "not enough variables" error
Date   Tue, 21 Jun 2005 21:07:08 +0100

The message is just saying that Stata finds fewer 
fields than it thinks should be there. 

In all similar circumstances I have found it a good
idea to look at line 16043953 of the file. 

Tools useful: a good text editor 
	        -hexdump- 

Nick 
n.j.cox@durham.ac.uk 

Daniel Egan
 
> up to date SE 9.
> 
> 
> I am attempting to insheet a large csv file, and have a 
> peculiar error message:
> 
> insheet name date using "dx2k.csv", clear comma names
> too few variables specified
> error in line 16043953 of file
> 
> I wasn't under the impression there was a minimum number of vars
> necessary to insheet.
> 
> What is causing this, or more pragmatically, how can I get around it?

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