From Waclaw.Marcin.Kusnierczyk at idi.ntnu.no  Tue Jun  2 18:10:57 2009
From: Waclaw.Marcin.Kusnierczyk at idi.ntnu.no (Wacek Kusnierczyk)
Date: Tue, 02 Jun 2009 18:10:57 +0200
Subject: [Rd] setdiff bizarre
In-Reply-To: <8b356f880906020813w6b7075b6g411fc177b508709e@mail.gmail.com>
References: <a695148b0905292135g1c1bee38xb70687a43ccaa934@mail.gmail.com>	<8b356f880905300550y39c76b02h2d908b1c6b0ef0e4@mail.gmail.com>	<a695148b0905300721x6e291e0bg66fefcf0931f2ce2@mail.gmail.com>	<8b356f880905300859i5ba5800q5594bfce659373fe@mail.gmail.com>
	<8b356f880906020813w6b7075b6g411fc177b508709e@mail.gmail.com>
Message-ID: <4A254F11.3060207@idi.ntnu.no>

Stavros Macrakis wrote:
>
>      '1:3' %in% data.frame(a=2:4,b=1:3)  # TRUE
>   

utterly weird.  so what would x have to be so that

    x %in% data.frame('a')
    # TRUE

hint: 

    '1' %in% data.frame(1)
    # TRUE

vQ



[Rd] setdiff bizarre
Wacek Kusnierczyk