MathGroup Archive 2009

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

Search the Archive

importing fixed width data

  • To: mathgroup at
  • Subject: [mg97511] importing fixed width data
  • From: swiftset <swiftset at>
  • Date: Sat, 14 Mar 2009 05:42:22 -0500 (EST)

Hi, I'm trying to import data from a file where the fields are stored
in a fixed width format. The Import["file", "Table"] command is the
closest I can get to what I'd like, but then the data is divided using
whitespace, so I get a lot of extraneous fields, and no way to tell
whether what Mathematica imported as two fields is actually just one
that contained a whitespace.

Any ideas on how to proceed?

  • Prev by Date: How to map a list on function
  • Next by Date: Two Notebooks Open at the Same Time
  • Previous by thread: Re: How to map a list on function
  • Next by thread: Re: importing fixed width data