MathGroup Archive 2007

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

Search the Archive

Re: Bad imports of data files -- extra empty lists showing up?

  • To: mathgroup at
  • Subject: [mg80757] Re: Bad imports of data files -- extra empty lists showing up?
  • From: David Bailey <dave at>
  • Date: Thu, 30 Aug 2007 23:51:57 -0400 (EDT)
  • References: <far9ul$4dl$> <> <fb5oti$974$>

Curtis Osterhoudt wrote:
> Hello, Daniel,
> I've opened them up in text editors and looked for "invisibles", etc.
> David Annets also looked at a couple of files I sent him (with these "bad"
> bits in them) and wasn't able to reproduce the problem I'm having. So it may
> just be this installation of Mathematica, or something screwy with its
> implementation on this processor (as remote a possibility as that might be) 
> Because I'll have to reinstall on a newer, faster computer sometime this
> week or next, I'm not worrying about it at the moment; perhaps this esoteric
> problem will disappear on its own! I also want to try (but haven't got around
> to it) the same experiments at home, on some different installations, and see
> what happens.
> Thanks for the suggestion. It was one of my first ideas, but hasn't panned
> out.
> Curtis
> On Wednesday 29 August 2007 02:18:27 dh wrote:
>> Hi Curtis,
>> have you checked that your files do not contain any invisible (control)
>> characters?
>> Daniel
Remember that not all stray characters would necessarily show up with a 
text editor. It might be worth opening the file with a hex editor so 
that you could see exactly what was in the file. If the data is 
otherwise completely uncorrupted, you could, of course, just clean it up 
by doing something like:


If the corruption happens at line 5678 (say), it might be worth trying 
removing 5675 lines with a text editor, to see if the corruption happens 
on line 3. This would make it much easier to examine with a hex editor.

David Bailey

  • Prev by Date: [Mathematica 6] Bug in Labeled, Center align option not accepted. And how to left justify label under object?
  • Next by Date: Re: Special characters in the axis label?
  • Previous by thread: Re: Re: Bad imports of data files -- extra empty lists showing up?
  • Next by thread: BarChart inside a Frame. How to remove Labels from the top of the frame? How to put x-axis label below and not on the side?