copy | R Documentation |
s3_file_copy
copies files
s3_dir_copy
copies the directory recursively to the new location
s3_file_copy(
path,
new_path,
max_batch = fs_bytes("100MB"),
overwrite = FALSE,
...
)
s3_dir_copy(
path,
new_path,
max_batch = fs_bytes("100MB"),
overwrite = FALSE,
...
)
path |
(character): path to a local directory of file or a uri. |
new_path |
(character): path to a local directory of file or a uri. |
max_batch |
(fs_bytes): Maximum batch size being uploaded with each multipart. |
overwrite |
(logical): Overwrite files if the exist. If this is |
... |
parameters to be passed to |
character vector of s3 uri paths
## Not run:
# Require AWS S3 credentials
temp_file = "temp.txt"
file.create(temp_file)
s3_file_copy(
temp_file,
"s3://MyBucket/temp_file.txt"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.