Hi
After an upgrade from 2.14.2 to R 2.15.2 over the weekend for most (but not all) of our users R crashes when dcast() or ggplot() is run, regardless of how simple the example given to it. Below is a complete session after opening R with an empty workspace, attaching no libraries other than reshape2. Where should we start in troubleshooting this? What might be different in the set up for some users that causes this behaviour? The installation has been packaged so everyone should have had installed the same way, and the computers are all nearly identical.
Thanks for any pointers for where to look.
PE
###############
# Session 1
.libPaths("P:/r/libraries")
library(ggplot2)
# creates an immediate crash:
example(ggplot)
##################
# Session 2
.libPaths("P:/r/libraries")
library(reshape2)
sessionInfo()
# following runs ok:
names(airquality) <- tolower(names(airquality))
aqm <- melt(airquality, id=c("month", "day"), na.rm=TRUE)
acast(aqm, day ~ month ~ variable) # reshape2 version
# Creates a crash:
dcast(aqm, month ~ variable, mean, margins = c("month", "variable"))
Here is the session info:
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=English_New Zealand.1252 LC_CTYPE=English_New Zealand.1252
[3] LC_MONETARY=English_New Zealand.1252 LC_NUMERIC=C
[5] LC_TIME=English_New Zealand.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] reshape2_1.2.2
loaded via a namespace (and not attached):
[1] plyr_1.8 stringr_0.6
Peter Ellis
http://newzealand.govt.nz/ - connecting you to New Zealand central & local government services
Any opinions expressed in this message are not necessarily those of the Ministry of Business, Innovation and Employment. This message and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivery to the intended recipient, be advised that you have received this message in error and that any use is strictly prohibited. Please contact the sender and delete the message and any attachment from your computer.