exists {s3fs} | R Documentation |
Download files and directories
Description
s3_file_exists
check if file exists in AWS S3
s3_dir_exists
check if path is a directory in AWS S3
Usage
s3_file_exists(path)
s3_dir_exists(path = ".")
Arguments
path |
(character) s3 path to check |
Value
logical vector if file exists
Examples
## 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)
[Package s3fs version 0.1.6 Index]