Mathematica 9 is now available
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: Re: Bug in Import?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54825] Re: [mg54806] Re: Bug in Import?
  • From: DrBob <drbob at bigfoot.com>
  • Date: Wed, 2 Mar 2005 22:29:13 -0500 (EST)
  • References: <cvum3g$bmp$1@smc.vnet.net> <200503020626.BAA08134@smc.vnet.net>
  • Reply-to: drbob at bigfoot.com
  • Sender: owner-wri-mathgroup at wolfram.com

That seems to make it a new bug in version 5.1.

Bobby

On Wed, 2 Mar 2005 01:26:53 -0500 (EST), <virgilio at ieee.org> wrote:

> Mark Fisher wrote:
>> (1) I export a data set that has two identitcal rows.
>> (2) I use "!!" to display the stored file, showing that it contains
> two
>> identical rows.
>> (3) I import the file, the result of which does *not* have two
> identical
>> rows: The first row is different from the second row.
>>
>> Export["test.tsv",
>>      {{"2005-01-24", "2005-02-14"},
>>      { "2005-01-24", "2005-02-14"}}]
>>
>> !!test.tsv -->
>>
>> 2005-01-24    2005-02-14
>> 2005-01-24    2005-02-14
>>
>> Import["test.tsv"] -->
>>
>> {{2005-01-24, 2005-02-14},
>> {2005, -1, -24, 2005, -2, -14}}
>>
>> Surely this is a bug.
>>
>> (I sent this example to support at wolfram.com three weeks ago, but the
>> only response I've received is that it's not a bug. Frankly, I don't
>> think the tech person who responded understood the example.)
>>
>> I  am using version 5.1 for Windows.
>>
>> --Mark.
>
> Hi Mark,
>
> FWIW, on v5.0, I can't reproduce your problem yet.  Here is what I get:
>
>
> In[1]:=
> Export["test.tsv",
>      {{"2005-01-24", "2005-02-14"},
>      { "2005-01-24", "2005-02-14"}}]
> Out[1]=
> test.tsv
>
> In[2]:=
> !!test.tsv
>> From In[2]:=
> 2005-01-24	2005-02-14
> 2005-01-24	2005-02-14
>
> In[3]:=
> Import["test.tsv"]
> Out[3]=
> {{2005-01-24,2005-02-14},{2005-01-24,2005-02-14}}
>
> In[4]:=
> $Version
> Out[4]=
> 5.0 for Microsoft Windows (June 10, 2003)
>
>
> Vince Virgilio
>
>
>
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: New in 5.1.1?
  • Next by Date: Contexts and DumSave
  • Previous by thread: Re: Bug in Import?
  • Next by thread: Re: Bug in Import?