[R] R windows close while calculating frequency

vikrant vikrant.shimpi at tcs.com
Fri Feb 14 12:05:47 CET 2014

HI ,

I am using R on a very huge datasets which contains lot of text. I prepared
a all word vector of words by using strsplit function. Now I want to compute
frequency of unique words from all word vector. For doing
so, I used two ways

1) as.data.frame(table(x))
2) sapply(x,x,length)

x contains approximately 9 lac words and no.of unique words is around 33k.

When I run any one of these command, R window closes automatically.  

Please let me know what is the solution for this?

View this message in context: http://r.789695.n4.nabble.com/R-windows-close-while-calculating-frequency-tp4685315.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list