powered by
Create a new S3 bucket using mc command
mc_mb(bucket, ignore_existing = TRUE, flags = "", verbose = TRUE)
Returns the list from processx::run(), with components status, stdout, stderr, and timeout; invisibly.
processx::run()
status
stdout
stderr
timeout
Character string specifying the name of the bucket to create.
do not error if bucket already exists
additional flags, see mc_mb("-h") for details.
mc_mb("-h")
print output?
if (FALSE) { # interactive() # Create a new bucket named "my-bucket" mc_mb("play/my-bucket") }
Run the code above in your browser using DataLab