path_manipulate | R Documentation |
s3_path_dir
returns the directory portion of s3 uri
s3_path_file
returns the file name portion of the s3 uri path
s3_path_ext
returns the last extension for a path.
s3_path_ext_remove
removes the last extension and return the rest of the s3 uri.
s3_path_ext_set
replace the extension with a new extension.
s3_path_dir(path)
s3_path_file(path)
s3_path_ext(path)
s3_path_ext_remove(path)
s3_path_ext_set(path, ext)
path |
(character): A character vector of paths |
ext |
(character): New file extension |
## Not run:
# Require AWS S3 credentials
s3_path_dir("s3://my_bucket1/hi.txt")
s3_path_file("s3://my_bucket1/hi.txt")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.