s3cmd_read: Read an object from S3 into an R session using s3cmd.

Description Usage Arguments Details

View source: R/zzz-s3cmd_shortcuts.R

Description

This function will read an object from AWS S3 using s3cmd, download it to disk, and read it into the current R session.

Usage

1
s3cmd_read(name, path = s3cmd_default_path(), storage_format = "RDS", ...)

Arguments

name

simple string. The key used to store the object.

path

simple string. The s3 bucket where the object is stored.

storage_format

simple string. The name of the disk interface in /codeDEFAULT_DISK_INTERFACES to use to read the object from disk into the R session.

...

additional parameters to pass to interface objects via params.

Details

To use this effectively, make sure that you are reading in objects in the same format as you write them! (As of version 0.0.8, the only storage format is RDS, but expect there to be more of them later)


abelcastilloavant/csmpi documentation built on May 24, 2019, 7:21 p.m.