MathGroup Archive 2007

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

Search the Archive

Re: import function

  • To: mathgroup at
  • Subject: [mg82199] Re: import function
  • From: David Reiss <dbreiss at>
  • Date: Sun, 14 Oct 2007 06:18:37 -0400 (EDT)
  • References: <fen6kg$527$>

This is a tricky question to answer without the data file in
question.  I would certainly recommend sending this to Wolfram
Technical support (along with the problematic data file).

Remember though that Import[....,"Table"]  is a import format tht uses
a wide variety of heuristics to figure out what the contents of the
file is and then attempts to turn that file's data into the proper
formats and types.  If you have a much more strucured file, it may
make more predictable sense to use a more constrained import format--
rather than "Table"--to read in the file.

Hope that this helps,

A WorkLife FrameWork
E x t e n d i n g MATHEMATICA's Reach...

On Oct 12, 3:10 am, Ellery Ames <Ellery.A... at Colorado.EDU> wrote:
> Greetings,
> I have a question regarding the import function in mathematica 6.  
> When I import a long array of reals into a table, the function  
> appears to skip certain array entries, for example the 20230 th row.  
> This does not occur in mathematica 5.2 using identical code.
> Code is below.
> In[1]:=
> SetDirectory["/Users/elleryames/Research/VoltageStability/Data/
> run0239"];
> FileName="run0239";
> FileImport=Import[FileName<>".dat","Table"];
> Best,
> Ellery Ames

  • Prev by Date: Re: Programming Euler's Method into Mathematica
  • Next by Date: Re: Programming Euler's Method into Mathematica
  • Previous by thread: Re: import function
  • Next by thread: Convert to Text Display has no keyboard short cut