ReadList
- To: mathgroup at smc.vnet.net
- Subject: [mg27197] ReadList
- From: Matthias.Bode at oppenheim.de
- Date: Fri, 9 Feb 2001 03:10:44 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
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) words: 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 GERMANY 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 oppenheim.de Internet: http://www.oppenheim.de
- Follow-Ups:
- Re: ReadList
- From: Tomas Garza <tgarza01@prodigy.net.mx>
- Re: ReadList