R: spam classification
Revision as of 10:14, 25 November 2018 by Onnowpurbo (talk | contribs)
install.packages("quanteda")
install.packages("RColorBrewer")
library(quanteda) library(RColorBrewer)
setwd("~/Your Folder Path")
raw.data <- read.table("SMSSpamCollection", header=FALSE, sep="\t", quote="", stringsAsFactors=FALSE)