create | R Documentation |
s3_file_create
create file on AWS S3
, if file already exists it will be left unchanged.
s3_dir_create
create empty directory of AWS S3
.
s3_file_create(path, overwrite = FALSE, ...)
s3_bucket_create(
path,
region_name = NULL,
mode = c("private", "public-read", "public-read-write", "authenticated-read"),
versioning = FALSE,
...
)
s3_dir_create(path, overwrite = FALSE, ...)
path |
(character): A character vector of path or s3 uri. |
overwrite |
(logical): Overwrite files if the exist. If this is |
... |
parameters to be passed to |
region_name |
(character): region for |
mode |
(character): A character of the mode |
versioning |
(logical) |
character vector of s3 uri paths
## Not run:
# Require AWS S3 credentials
temp_file = s3_file_temp(tmp_dir= "MyBucket")
s3_file_create(temp_file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.