file_get {filebin} | R Documentation |
Retrieve a file from Filebin
Description
Retrieve a file from Filebin
Usage
file_get(filename, bin, file = NA, overwrite = FALSE)
Arguments
filename |
File name or URL. |
bin |
Bin name. If |
file |
File name to use to save results. If |
overwrite |
Whether to overwrite existing file. |
Value
Contents of file.
Examples
## Not run:
posted <- file_post(LOREM_IPSUM, bin = "latin-text")
# Discard path and just retain filename.
filename <- basename(LOREM_IPSUM)
file_get(filename, "latin-text")
# Delete downloaded file.
file.remove(filename)
## End(Not run)
[Package filebin version 0.0.6 Index]