Learn R Programming

s3fs (version 0.1.7)

s3_path_split: Split s3 path and uri

Description

Split s3 uri path to core components bucket, key and version id

Usage

s3_path_split(path)

Value

list character vectors splitting the s3 uri path in "Bucket", "Key" and "VersionId"

Arguments

path

(character): A character vector of one or more paths or s3 uri

Examples

Run this code
if (FALSE) {
# Require AWS S3 credentials

s3_path_dir("s3://my_bucket1/hi.txt")
}

Run the code above in your browser using DataLab