How to conserve the ID field when using RTextTools
I am using RTextTools to train and classify data which comes from a MySQL table. I have a field called
id that identifies each document in the database. However, after using the following code, the
id field is no longer present.
As stated above, the
data$id seems to be lost during the process. Any idea how I can keep the ID linked to the data?