[R] Package TM & dataframes
ramoss
ramine.mossadegh at finra.org
Fri Jan 10 16:11:52 CET 2014
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 text variable
containing customer complaints. What do I have to change it to in order to
use the TM package for text mining?
Thanks ahead for your help/thoughts.
--
View this message in context: http://r.789695.n4.nabble.com/Package-TM-dataframes-tp4683392.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list