MathGroup Archive 1996

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

Search the Archive

Thanks. (re:help! to input data...)

  • To: mathgroup at
  • Subject: [mg4261] Thanks. (re:help! to input data...)
  • From: tcdoe+ at (todd c. doehring)
  • Date: Sun, 23 Jun 1996 03:09:40 -0400
  • Organization: University of Pittsburgh
  • Sender: owner-wri-mathgroup at

thanks to everyone who helped me out with this problem!

my current best (well, simplest) solution is this:

data=ReadList["c:\Temp\Micro.amp", Number, RecordLists->False,

this way i don't have to muck with the input file.
this reads all the data in as one giant block, treating the new line
as a simple separator. then the transpose/partition part justs divides
the data back into the original line by line format.
i've been told that i don't neet the RecordLists parameter.

thanks again,

tcdoe+ at (todd c. doehring) wrote:

>well, silly me.
>I thought i was pretty good at the basics of mathematica, but today i 
>tried to input some numerical data that was comma delimited. i.e.


>it is a large data file (10Mb+) with 5 numbers per line. i can't
>convert the commas to tabs easily.
> i tried simply using:

>data=ReadList["c:\micro.dat", Number, RecordLists->True];


>data=ReadList["c:\micro.dat", RecordLists->True,


>data=ReadList["c:\micro.dat", Number, RecordLists->True,

>but all i ever get is the first number and an error such as:

>Read::readn: Syntax error reading a real number from c:\micro.dat.

>would someone please tell me the best way to input this data file??
>it's driving me crazy that i can't figure out something so basic.



  • Prev by Date: Integration problem
  • Next by Date: Re: help! to input data...
  • Previous by thread: Integration problem
  • Next by thread: Groebner bases