MathGroup Archive 2007

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

Search the Archive

Re: Mathematica 6 specific Import[ ] problem

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80995] Re: Mathematica 6 specific Import[ ] problem
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Fri, 7 Sep 2007 02:08:05 -0400 (EDT)
  • References: <fbok54$jmu$1@smc.vnet.net>

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