Re: Bad imports of data files -- extra empty lists showing up?
- To: mathgroup at smc.vnet.net
- Subject: [mg80757] Re: Bad imports of data files -- extra empty lists showing up?
- From: David Bailey <dave at Remove_Thisdbailey.co.uk>
- Date: Thu, 30 Aug 2007 23:51:57 -0400 (EDT)
- References: <far9ul$4dl$1@smc.vnet.net> <200708290818.EAA27210@smc.vnet.net> <fb5oti$974$1@smc.twtelecom.net>
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: data=data/.{}:>Sequence[]; 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 http://www.dbaileyconsultancy.co.uk
- References:
- Re: Bad imports of data files -- extra empty lists showing up?
- From: dh <dh@metrohm.ch>
- Re: Bad imports of data files -- extra empty lists showing up?