Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Read a delimited text file into a mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62083] Re: Read a delimited text file into a mathematica
  • From: dh <dh at metrohm.ch>
  • Date: Fri, 11 Nov 2005 02:51:46 -0500 (EST)
  • References: <dksdg1$h6o$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Young,
it is not clear what you mean by "delimited".
In any case read the Help about "Import".

If you mean Strings delimited by CRLF, then you could use
Import[filename,"Lines"]
If you have comma delimited data:
Import[filename,"CSV"]
e.t.c

sincerely, Daniel

youngjin.michael at gmail.com wrote:
> Hello,
> 
> I am new to Mathematica and would like to know if I can read a
> delimited text file into a mathematica and work with it. I was gooling
> and reading the online help, but I could not find it.
> 
> Thanks in advance.
> 
> Young-Jin Lee
> 


  • Prev by Date: Re: Plot Angle between Vectors
  • Next by Date: Re: Timing runs for the last part of my previous post
  • Previous by thread: Re: Read a delimited text file into a mathematica
  • Next by thread: Converting Rationals into Reals