read_data(filename, tablename = NULL, type = c("csv", "tab", "accdb", "mdb"),
...)
"csv"
, "tab"
, "accdb"
, "mdb"
to denote .csv files, text files, or Access databases.data.frame
object is returned with the contents of the file.library(RTextTools)
data <- read_data(system.file("data/NYTimes.csv.gz",package="RTextTools"),type="csv")
Run the code above in your browser using DataLab