Re: [R] Error in using tokens script

2019-05-30 Thread PIKAL Petr
. Cheers Petr > -Original Message- > From: R-help On Behalf Of Jianjun Wang > Sent: Tuesday, May 28, 2019 6:51 PM > To: r-help@R-project.org > Subject: [R] Error in using tokens script > > Hi, Colleagues. > > As shown at the bottom, I was able to obtain information from

Re: [R] Error in using tokens script

2019-05-30 Thread Jianjun Wang
Behalf Of Jianjun Wang > Sent: Tuesday, May 28, 2019 6:51 PM > To: r-help@R-project.org > Subject: [R] Error in using tokens script > > Hi, Colleagues. > > As shown at the bottom, I was able to obtain information from a column > (named "Message") of a t

[R] Error in using tokens script

2019-05-28 Thread Jianjun Wang
Hi, Colleagues. As shown at the bottom, I was able to obtain information from a column (named "Message") of a text data (named "SMSSpamCollection" (i.e., SMSSpamCollection$Message[44]). But when I ran SMSSpamCollection.token <-tokens(SMSSpamCollection$Message, what="word", +