Displaying 1 result from an estimated 1 matches for "corpus_3compound".
Did you mean:
corpus_3compounds
2009 Oct 13
0
tm: Why does adding local metadata take so long?
I'm running tm 0.5 on R 2.9.2 on a MacBook Pro 17" unibody early 2009
2.93 GHz 4GB RAM. I have a directory with 1697 plain text files on
the Mac, that I want to analyze with the tm package. I have read the
documents into a corpus, Corpus_3compounds, as follows:
# Assign directory to a character vector
dirName <- "/Volumes/RDR Test Documents/3Compounds/TXT"
# Put the paths of the .txt files in the directory into a vector
Files_3compounds <- dir(dirName,
full.names = TRUE,
pattern = "_.*\\.txt",
ignore.case = TRU...