file_get | R Documentation |
Retrieve a file from Filebin
file_get(filename, bin, file = NA, overwrite = FALSE)
filename |
File name or URL. |
bin |
Bin name. If |
file |
File name to use to save results. If |
overwrite |
Whether to overwrite existing file. |
Contents of file.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.