Learn R Programming

flyio (version 0.1.4)

flyio_get_bucket: Get global bucket name for flyio

Description

Get global bucket name to be used for all the functions in flyio

Usage

flyio_get_bucket(data_source = flyio_get_datasource())

Arguments

data_source

the data source used for I/O. Default chooses the data source set using flyio_set_datasource()

Value

the string - bucket name stored

Details

if the data source is local, then an empty string is returned

Examples

Run this code
# NOT RUN {
# first setting the bucket for a data source
flyio_set_bucket(bucket = "socialcops-test", data_source = "S3")
# retrieving the bucket for S3
flyio_get_bucket(data_source = "S3")
# }

Run the code above in your browser using DataLab