R tutorial: The TDM & DTM with text mining