MathGroup Archive 2001

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

Search the Archive

Re: comma delimited files for input?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg30777] Re: comma delimited files for input?
  • From: "Martin Harborth" <martin.harborth at ts.siemens.de>
  • Date: Wed, 19 Sep 2001 00:16:17 -0400 (EDT)
  • Organization: Siemens AG, Transportation Systems
  • References: <9nh2sv$mv$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

This will probably help:

Import["file.csv", "Table",
  ConversionOptions -> {"TableSeparators" ->
    {{Automatic, "\n", "\r"},(*record delimiters*){",", " "}
     (*field delimiters*)}}]


"1.156" <rob at piovere.com> schrieb im Newsbeitrag
news:9nh2sv$mv$1 at smc.vnet.net...
> I'm using version 4.  In order to get plain ascii decimal numbers into my
program I have to use space delimited data files I'm told in the HELP files.
It works fine but I have to make two versions of all the data files because
others need comma delimited
> files of the same data.
>
> It sure would be convenient to be able to use comma delimited files (that
import nicely into Excel) for Mathematica work.  Can anyone tell me whether
there is some guru magic that will allow importing csv files or does it boil
down to upgrading to version 5?
>
> Thanks for any advice on the matter.
>
> Rob
>
>
>
>




  • Prev by Date: Re: Geometry Utility, drawing technique
  • Next by Date: Re: creating a palette for hilberts matrix
  • Previous by thread: Re: comma delimited files for input?
  • Next by thread: Antialias of pictures?