s3_save | R Documentation |
Save R object to S3 guessing type from extension
s3_save(object, s3_url, conf = list(), args_save = list(), quiet = FALSE, ...)
object |
current session object to save |
s3_url |
string S3 URL to save to. Needs to include the bucket and protocol (s3://bucket_name/) |
conf |
list with 'key', 'secret', 'region', and 'base_url' parameters. If missing, will look for AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_DEFAULT_REGION in environment variables. |
args_save |
optional, additional arguments passed to save function |
quiet |
logical turn off output messages, default to FALSE |
... |
additional arguments passed to aws.s3::put_object |
## Not run: s3_save(cars, "s3://hfty-test-bucket/cars.rds") s3_save(cars, "s3://hfty-test-bucket/cars.csv") s3_save(cars, "s3://hfty-test-bucket/cars.fwf") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.