Re: [R] Package TM & dataframes

2014-01-10 Thread David Winsemius
On Jan 10, 2014, at 10:11 AM, ramoss wrote: Hi, I am trying to use the package TM on a dataframe & get the following error: complaints <- tm_map(complaints, tolower) Error in UseMethod("tm_map", x) : no applicable method for 'tm_map' applied to an object of class "data.frame" Tm doesn't

[R] Package TM & dataframes

2014-01-10 Thread ramoss
Hi, I am trying to use the package TM on a dataframe & get the following error: complaints <- tm_map(complaints, tolower) Error in UseMethod("tm_map", x) : no applicable method for 'tm_map' applied to an object of class "data.frame" Tm doesn't work on dataframes? My data frame consists of 1