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: [mg30780] Re: comma delimited files for input?
  • From: <jpurdy at home.com>
  • Date: Wed, 19 Sep 2001 00:16:20 -0400 (EDT)
  • References: <9nh2sv$mv$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <9nh2sv$mv$1 at smc.vnet.net>, rob at piovere.com says...
> 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
> 

You may import comma delimited files into Mathematica using the 
Import command.

data=Import["filename","CSV"]

this works fine.

JP


  • Prev by Date: Re: comma delimited files for input?
  • Next by Date: Re: Combinations
  • Previous by thread: Re: comma delimited files for input?
  • Next by thread: Re: comma delimited files for input?