> Is there a way to avoid the degradation in performance in 2.9.1?
If the example is to demonstrate a difference between R versions that you
really need to get to the bottom of then read no further. However, if the
example is actually what you want to do then you can speed it up by using a
data
I have noticed a significant performance degradation using merge in 2.9.1
relative to 2.8.1. Here is what I observed:
N <- 10
X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N))
X$mon <- as.character(X$mon)
Y <- data.frame(mon=month.abb, letter=letters[1:12])