exists | R Documentation |
s3_file_exists
check if file exists in AWS S3
s3_dir_exists
check if path is a directory in AWS S3
s3_file_exists(path)
s3_dir_exists(path = ".")
path |
(character) s3 path to check |
logical vector if file exists
## Not run:
# Require AWS S3 credentials
temp_file = s3_file_temp(tmp_dir= "MyBucket")
s3_file_create(temp_file)
s3_file_exists(temp_file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.