I started getting the same error when I upgraded.
In my case, I appear to be causing the problem by passing something
like NewVariable='Value' among other things to a ddply function. This
sounds obscure, but here's an example.
I use ddply and cast functions to calculate the percent of total at
successive levels of aggregation and stick them together with cbind
and rbind:
bball <- subset(baseball, year > 1900 & lg %in% c('AL','NL'))
# randomly assign a fake handedness variable
bball$hand <- cut(runif(nrow(bball), min=0, max=1), c(0, .65, 0.9,
1.0), c("R","L","B"))
rbind(
cast(ddply(bball, .(lg, year), summarise, hand = hand, pct = hr /
sum(hr)), lg+year~hand, sum)
,
cast(ddply(bball, .(year), summarise, lg = 'Both Leagues', hand =
hand, pct = hr / sum(hr)), year~hand, sum)
)
In the example above, I am calculating the share of home runs by
handedness within each league, then stacking the results onto a
similar table that calculates the share for both leagues. To make the
rbind() work properly, I assigned lg = 'Both Leagues' inside the
ddply statement. That appears to break now with the error message
cited above.
I can get the results I need by running the following:
rbind(
cast(ddply(bball, .(lg, year), summarise, hand = hand, pct = hr /
sum(hr)), lg+year~hand, sum)
,
cbind(
lg='Both Leagues',
cast(ddply(bball, .(year), summarise, hand = hand, pct = hr /
sum(hr)), year~hand, sum)
)
)
With such an easy workaround, this isn't a critical issue for me, but
I thought this might help others troubleshoot.