load a text file
(Down)Load a text file (and extract it if it is in a zip file).
loadtext(file = file.choose(), dir = "~/", collapse = TRUE)
file |
The path or URL of the text file. |
dir |
The (temporary) directory, where the file is downloaded. The file is deleted at the end of this function. |
collapse |
Indicates whether or not lines of each documents should collapse together or not. |
The text contained in the dowloaded file.
## Not run: text = loadtext ("http://mattmahoney.net/dc/text8.zip") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.