Skip to content
Prev 306291 / 398506 Next

Memory usage in R grows considerably while calculating word frequencies

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 25/09/12 01:29, mcelis wrote:
Just an idea (I have no experience with what you want to do, so it might not work):

What about putting the text in a database (sqlite comes to mind) where each word is one entry.
Then you could use sql to query the database, which should need much less memory.

In addition, it should make further processing much easier.

Cheers,

Rainer
Sent from the R help mailing list archive at Nabble.com.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBitboACgkQoYgNqgF2egr1pgCgjHxE/E1qIwUbrYzB30qIk9cK
z/oAoILCYn66+c9CF5tzkWeQH3E2utwi
=ahI5
-----END PGP SIGNATURE-----