[R] tm (text mining) package persistent storage

David Winsemius dwinsemius at comcast.net
Tue Jul 30 06:04:45 CEST 2013


On Jul 29, 2013, at 4:47 PM, Ashwani Rao wrote:

> Hi,
> 
> My Corpus is bunch of xml files in a single directory.
> Each xml files have bunch of documents.
> I can create a persitent storage using PCorpus constructor  by specifying a
> DIrectorySource.
> PCorpus writes this as key-value data base.
> My problem is that next time when I want to start R then I want to read
> from this persistent storage created in my last session.
> I don't see a constructor/class in the tm package which will just take this
> persistent storage as input and initialize itself.

Identifying exactly what error you are making will require a copy of your history file leading up to saving and loading the data-objects in question.

-- 
David.
> 
> Currently, I always have to process my xml corpus directory with each new R
> session.
> 
> -- 
> Ashwin
> 
> 	[[alternative HTML version deleted]]

And do read the posting Guide. HTML is deprecated.

-- 

David Winsemius
Alameda, CA, USA



More information about the R-help mailing list