Delete a file
Arguments
- remote_path
(character) one or more remote S3 paths. required
- ...
named parameters passed on to delete_object
See also
Other files:
aws_file_attr()
,
aws_file_copy()
,
aws_file_download()
,
aws_file_exists()
,
aws_file_rename()
,
aws_file_upload()
,
six_file_upload()
Examples
if (FALSE) { # \dontrun{
# create a file
tfile <- tempfile()
cat("Hello World!", file = tfile)
aws_file_upload(remote_path = "s3://s64-test-2", path = tfile)
# delete the file
aws_file_delete(s3_path("s64-test-2", basename(tfile)))
# file does not exist - no error is raised
aws_file_delete(s3_path("s64-test-2", "TESTING123"))
} # }