Re: Mathematica 6 specific Import[ ] problem
- To: mathgroup at smc.vnet.net
- Subject: [mg81013] Re: Mathematica 6 specific Import[ ] problem
- From: dh <dh at metrohm.ch>
- Date: Sat, 8 Sep 2007 03:46:28 -0400 (EDT)
- References: <fbok54$jmu$1@smc.vnet.net>
Hi ALex,
with version: 6.0 for Microsoft Windows (32-bit) (June 19, 2007)
the following works:
Import["d:/tmp/t.txt", "TSV","Numeric"->False]
hope this helps, Daniel
Alex wrote:
> Hello everybody,
>
> I try to import tab separated data from a filed called bla.txt.
> Import["bla.txt","TSV"] works in principle but tries to convert the
> file content into numbers.
> One of my entries is the string "1E20", which is falsely converted to
> 1e20.
> In Mathematica 5 I could say Import["bla.txt","TSV",ConversionOptions-
>> {"Numeric"->False}] , but how can I achieve this under Mathematica 6 ??
>
> ConversionOptions doesn't exist anymore and
> Import["bla.txt",{"TSV", "Numeric" -> False}] gives the error:
> Numeric->False is not a valid format or element specification.
> Expecting a string, list, or integer.
>
> Finally, Import["bla.txt", "TSV", "Numeric" -> False] is also not
> working because Import only accepts 2 arguments.
>
> Any help is welcomed,
>
> Axel
>
>