DirSource(directory = ".", encoding = "", pattern = NULL, recursive = FALSE, ignore.case = FALSE, mode = "text")
getwd()
.iconv
to convert the input to UTF-8.DirSource
, SimpleSource
, and
Source
.
dir
and
interprets each file as a document.
Source
for basic information on the source infrastructure
employed by package tm.DirSource(system.file("texts", "txt", package = "tm"))
Run the code above in your browser using DataLab