|
[Date Index]
[Thread Index]
[Author Index]
Re: Unformatted File IO
- To: mathgroup at smc.vnet.net
- Subject: [mg44462] Re: Unformatted File IO
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Mon, 10 Nov 2003 19:55:47 -0500 (EST)
- Organization: Universitaet Leipzig
- References: <boigr2$ojk$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
say your data in tmp.txt, and try
Import["tmp.txt", "Table"]
Regards
Jens
"Bruce W. Colletti" wrote:
>
> I have an unformatted text file whose records hold reals and double-quoted
> strings, all delimited by spaces, e.g.,
>
> "hello there" 2.7
> 1 2 3 4
> 9 "abc" "def"
>
> How can I read the file to produce a list of lists, e.g., {{hello there, 2.7},
> {1,2,3,4}, {9, abc, def}}?
>
> Thanks.
>
> Bruce
Prev by Date:
Re: Trying to use Mathematica as "word processor" for my math homework
Next by Date:
Re: Derivative of a funtion evaluated at a point in 3D
Previous by thread:
Re: Unformatted File IO
Next by thread:
Re: Re: Unformatted File IO
|