Dear All

I have created a permanent corpus and I can see the file exist:

setwd("E:/textmining/texts")
(data_mined_permanent <- PCorpus(DirSource(("E:/textmining/texts")),
                                 readerControl = list(languages = "eng"), 
                                 dbControl = 
list(dbName="E:/textmining/db_one",dbType = "DB1")))
print(list.files(path = "E:/textmining/"))


## [1] "corpora" "db_one"
## [3] "part_one.pdf" "part_one.rmd"
## [5] "processing_corpra.pdf" "processing_corpra.rmd"
## [7] "textmining.pdf" "textmining.rmd"
## [9] "textmining2.pdf" "textmining2.Rmd"
## [11] "textmining3.pdf" "textmining3.Rmd"

However I cannot see how to reload the said corpus after restarting an R 
session.

I've seen this 
http://stackoverflow.com/questions/28377646/how-to-reconnect-to-the-pcorpus-in-the-r-tm-package

So can I create a corpus and just reload the file persistent copy or not?

Cheers Paul

Paul Johnston
Research Infrastructure
Room B39
Sackville Street Building

 http://bit.ly/ResearchITFeedback
We would run with all of our might 
Push the king off to take the hill 
And to learn who was king 

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to