From ligges at statistik.uni-dortmund.de  Wed Sep 15 16:59:33 2004
From: ligges at statistik.uni-dortmund.de (Uwe Ligges)
Date: Wed Sep 15 16:58:03 2004
Subject: [Rd] Bug in merge() in R-2.0.0 alpha
Message-ID: <414858D5.7060308@statistik.uni-dortmund.de>

In some cases, merge() has a problem in R-2.0.0 alpha (2004-09-14):

   x <- structure(c("a", "b", "2", "0.2-26", "O", "O"), .Dim = c(2, 3),
     .Dimnames = list(c("1", "2"), c("P", "V", "2")))

   y <- structure(c("a", "b", "2", "0.2-25", "O", "O"), .Dim = c(2, 3),
     .Dimnames = list(c("1", "2"), c("P", "V", "1")))

   merge(x, y, all.y=TRUE)

Error in "[<-"(`*tmp*`, ri, value = NULL) :
         incompatible types


Looks like the NA handling has changed anywhere.

Uwe Ligges


[Rd] Bug in merge() in R-2.0.0 alpha
Uwe Ligges