search for: splitv

Displaying 2 results from an estimated 2 matches for "splitv".

Did you mean: split
2012 Apr 14
1
Error: R for Windows GUI front-end has stopped working
...tor(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, .drop=FALSE) Sometimes R deals with this without closing a program and with reported error: Error in split_indices(seq_along(splitv), as.integer(splitv), attr(splitv, : INTEGER() can only be applied to a 'integer', not a 'char' but in the most of cases just stops working. Does anyone know if this is happening also with other OS or only with Windows 7. Here is my session info: > sessionInfo() R version...
2010 Jun 01
1
data frame manipulation with zero rows
...lass = "data.frame") It is not the usual case, but it can happen. With this df, when I pass the above mentione line, I get an error : >PosFut=ddply(futures, c("DESCRIPTION","SETTLEMENT"), summarise, POSITION= sum(QUANTITY))[,c(1,3,2)] Error in tapply(1:nrow(data), splitv, list) : arguments must have same length How can I avoid this when my df is empty? Any help is appreciated