MathGroup Archive 2007

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

Search the Archive

Re: Mathematica 6 specific Import[ ] problem

On Sep 6, 5:18 am, Alex <axel.kow... at> 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

I made a blank file called bla.txt that imported an empty table using
the last command.

  • Prev by Date: Re: random points!
  • Next by Date: Re: question on Max and Min
  • Previous by thread: Mathematica 6 specific Import[ ] problem
  • Next by thread: Re: Mathematica 6 specific Import[ ] problem