Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive


  • To: mathgroup at
  • Subject: [mg27197] ReadList
  • From: Matthias.Bode at
  • Date: Fri, 9 Feb 2001 03:10:44 -0500 (EST)
  • Sender: owner-wri-mathgroup at

Dear Colleagues:

I have to read an external file.txt:

ReadList["D:\theirfile.txt", Record, RecordList->True]//N

This works and yields the appropriately partitioned list  but gives me - as
InputForm proves - a list in which the numbers are (expletive deleted)

mylistoftheirfile = {{"0.001, 0.2, ..."}, {"..."}, ....}

How can I convert the "words" to plain rational numbers that will be
amenable to a principal component analysis, my ultimate aim?

Thank you for your help.

Best regards,

Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Koenigsberger Strasse 29
D-60487 Frankfurt am Main
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 6380
E-mail: matthias.bode at

  • Follow-Ups:
  • Prev by Date: Re: clever way to do a product?
  • Next by Date: Re: clever way to do a product?
  • Previous by thread: Re: Using Unusual Characters with Do
  • Next by thread: Re: ReadList