powered by
Get global bucket name to be used for all the functions in flyio
flyio_get_bucket(data_source = flyio_get_datasource())
the data source used for I/O. Default chooses the data source set using flyio_set_datasource()
the string - bucket name stored
if the data source is local, then an empty string is returned
# 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