Description Usage Arguments Details Value See Also Examples
Create a ZIP file source.
1 2 3 4 5 |
zipfile |
A character string with the full path name of a ZIP file. |
pattern |
an optional regular expression. Only file names in the ZIP file which match the regular expression will be returned. |
recursive |
logical. Should the listing recurse into directories? |
ignore.case |
logical. Should pattern-matching be case-insensitive? |
mode |
a character string specifying if and how files should be read in. Available modes are:
|
A ZIP file source extracts a compressed ZIP file via
unzip
and interprets each file as a document.
An object inheriting from ZipSource
, SimpleSource
, and
Source
.
Source
for basic information on the source infrastructure
employed by package tm.
1 2 3 4 5 6 |
Loading required package: NLP
adding: usr/lib/R/site-library/tm/texts/txt/ovid_1.txt (deflated 46%)
adding: usr/lib/R/site-library/tm/texts/txt/ovid_2.txt (deflated 46%)
adding: usr/lib/R/site-library/tm/texts/txt/ovid_3.txt (deflated 47%)
adding: usr/lib/R/site-library/tm/texts/txt/ovid_4.txt (deflated 47%)
adding: usr/lib/R/site-library/tm/texts/txt/ovid_5.txt (deflated 45%)
<<PlainTextDocument>>
Metadata: 7
Content: chars: 676
[1] TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.