powered by
Similar to fs::file_touch this does not create the file if it does not exist. Use s3_file_create to do this if needed.
fs::file_touch
s3_file_create
s3_file_touch(path, ...)
character vector of s3 uri paths
(character): A character vector of paths or s3 uri
parameters to be passed to s3_copy_object
s3_copy_object
if (FALSE) { # Require AWS S3 credentials dir = s3_file_temp(tmp_dir = "MyBucket") path = s3_path(dir, letters[1:2], ext = "txt") s3_file_touch(path) }
Run the code above in your browser using DataLab