Displaying 1 result from an estimated 1 matches for "splitter_d".
Did you mean:
splitter_a
2012 Apr 14
1
Error: R for Windows GUI front-end has stopped working
Hi all.
I found one situation, on my OS - Windows 7, where R stops working
with reported error R for Windows GUI front-end has stopped working.
Here is the example:
library(plyr)
DF <- data.frame(x=c(1:3, NA, NA), y=factor(sample(1:3,5,rep=T),levels=1:5))
DF[DF$x<3, ]
#this works properly
ddply(DF, .(y), nrow, .drop=FALSE)
#this causes the problem
ddply(DF[DF$x<3, ], .(y), nrow,