Re: importing and using data
- To: mathgroup at smc.vnet.net
- Subject: [mg17073] Re: importing and using data
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Fri, 23 Apr 1999 02:32:11 -0400
- Organization: Universitaet Leipzig
- References: <7f9gm5$53f@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Doug, I think you have somewhere a EndOfFile or what ever. Try data=Select[data,NumericQ]; to get only the numbers. To find out what's wrong wrong=Select[data,!NumericQ[#] &] Hope that helps Jens Doug VanGoethem wrote: > > I have a large, one column data set in a tab-delimited text file. It > appears to read correctly when I use data=ReadList["filename", Number], but > when I tried to do a ListPlot or perform a Fourier transform I get an error > message that says it is not a list of numbers or pairs of numbers. I have > also tried data=Transpose[Readlist[....]], but this did not make any > difference. > > Has anyone encountered this before or know how to fix it? > Thanks, > Doug V