MathGroup Archive 2007

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

Search the Archive

Re: Using ReadList to read a string

  • To: mathgroup at
  • Subject: [mg84076] Re: Using ReadList to read a string
  • From: nigol <dario.buttari at>
  • Date: Sun, 9 Dec 2007 06:35:42 -0500 (EST)
  • References: <> <fj36gg$h8d$>

here is a way to import that data correctly in one pass with a single
ReadList call:

ReadList["EWZ2.TXT", {Number, Word, Word, Number, Number, Number,
Number, Number}, WordSeparators -> {" \"", "\" ", "  "}]

This solution assumes that the EWZ2.TXT file is exactly as stated in
your post (the data is space delimited and not tab delimited).
Please let me know if this solution works on your system.

  • Prev by Date: MultivariateStatistics Package
  • Next by Date: Re: BarChart[{1, 2}, Frame->True]
  • Previous by thread: Re: Using ReadList to read a string
  • Next by thread: Fitting coupled differential equations to experimental data