MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Data handling in mathematica 2.2 and 3.0

  • To: mathgroup at
  • Subject: [mg5708] Re: Data handling in mathematica 2.2 and 3.0
  • From: wfarre1 at (Jimbob)
  • Date: Sat, 11 Jan 1997 14:29:06 -0500
  • Organization: University of Maryland, Baltimore County
  • Sender: owner-wri-mathgroup at

You need to have the text document "TAB delimited".  that is, all data
in one row is seperated by a "TAB".  Usually I import data into Excel
and then export it as a "TAB dilimited" text file.

sean ross <sean at> wrote:

>  How can I get mathematica to read in a text data file without 
>first having to massage the data in a text editor?  Take your 
>typical multi-column data from an excel-type spreadsheet.  If I 
>save it as text, the ReadList function assumes I want to 
>multiply all numbers together than appear on the same line.  If 
>I save it as comma delimited, ReadList says it is a syntax 
>error.  I have tried manipulating the RecordSeparator and 
>WordSeparator options in  ReadList, but no success.
>  My current wordaround is to take the data file, read it into 
>excel and save it as comma delimited text, then import it into 
>word, and do a global replace on all return characters 
>converting them into commas, placing a { } around the list, 
>saving it as unformatted text.  Then ReadList can read the data 
>and I can Partition it.  I hope there is a more elegant 
>  P.S. Has anybody been able to figure out how to read in 
>bitmap data like in the cat picture in the 3.0 "tour of 
>mathematica"?  Any time I try to read in .bmp files, it just 
>generates garbage.  Not quite as "mathematica reads in data in 
>any format" advertised.

  • Prev by Date: Does anyone have a notebook they've set up for College Algebra ?
  • Next by Date: Re: Re EPS files produced by Mathematica 3.0
  • Previous by thread: Re: Data handling in mathematica 2.2 and 3.0
  • Next by thread: Re: Data handling in mathematica 2.2 and 3.0