On Mon, 7 Jan 2008, Jan Wijffels wrote: > I have a collection of .txt documents in my working folder for which I > want to do some text mining. If I run TextDocCol from the tm package, R > crashes with some memory issues. Does anyone has any idea if this is > related to R itself or to the tm package?
Given that R runs many, many other things without doing this, it is almost certainly a bug in one of those packages. The way to find the original problem is to run under valgrind (possibly using an R build set up for it): the report is probably on a result of previous memory corruption. See 'Writing R Extensions' for how to debug such issues. > Below you can find what is happening here. > >> setwd("/home/jan/Work/2008/Profacts/textmining/tryouts/workfolder") >> require(tm) > Loading required package: tm > Loading required package: filehash > Simple key-value database (1.0-1 2007-08-13) > Loading required package: Matrix > Loading required package: lattice > Loading required package: Snowball > Loading required package: RWeka > Loading required package: rJava > Loading required package: grid > Loading required package: XML [...] -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.