Download a file from S3

s3_download_file(uri, file, force = TRUE)

Arguments

uri

string, URI of an S3 object, should start with s3://, then bucket name and object key

file

string, location of local file

force

boolean, overwrite local file if exists

Value

invisibly file

Examples

if (FALSE) { # \dontrun{
s3_download_file('s3://botor/example-data/mtcars.csv', tempfile())
} # }