Top "Tm" questions

The `tm` package (shorthand for Text Mining Infrastructure in R) provides a framework for text mining applications within R.

Error converting text to lowercase with tm_map(..., tolower)

I tried using the tm_map. It gave the following error. How can I get around this? require(tm) byword&…

r tm lowercase term-document-matrix
How to flatten a list of lists?

The tm package extends c so that, if given a set of PlainTextDocuments it automatically creates a Corpus. Unfortunately, it …

r list tm
DocumentTermMatrix error on Corpus argument

I have the following code: # returns string w/o leading or trailing whitespace trim <- function (x) gsub("^\\s+|\\…

r tm corpus
R-Project no applicable method for 'meta' applied to an object of class "character"

I am trying to run this code (Ubuntu 12.04, R 3.1.1) # Load requisite packages library(tm) library(ggplot2) library(lsa) # Place Enron …

r text-mining tm
Removing stopwords from a user-defined corpus in R

I have a set of documents: documents = c("She had toast for breakfast", "The coffee this morning was excellent", "For …

r tm topic-modeling
R text file and text mining...how to load data

I am using the R package tm and I want to do some text mining. This is one document and …

r load text-mining tm
Text-mining with the tm-package - word stemming

I am doing some text mining in R with the tm-package. Everything works very smooth. However, one problem occurs after …

r text-mining tm
Example of tm use

Can you give an example of use of tm (I don't know how to initialize that struct) where the current …

c tm
dependency ‘slam’ is not available when installing TM package

I was able to use the library(tm) in r without problem until today, when loading tm shows: library(tm) …

r tm slam
How to show corpus text in R tm package?

I'm completely new in R and tm package, so please excuse my stupid question ;-) How can I show the …

r tm corpus