Learn R Programming

flyio (version 0.1.4)

list_bucket: List buckets for cloud storage

Description

List buckets for cloud storage

Usage

list_bucket(data_source = flyio_get_datasource(), gcs_project = "")

Arguments

data_source

default to local. Possible options : gcs, s3, local. Case insensitive

gcs_project

Project containing buckets to list in Google Cloud Storage

Value

vector of bucket names

Examples

Run this code
# NOT RUN {
# No buckets if data source is local
list_bucket(data_source = "local")
# }
# NOT RUN {
flyio_set_datasource("s3")
flyio_auth() # authentication needed for S3
list_bucket()
# }

Run the code above in your browser using DataLab