Learn R Programming

minioclient (version 0.0.6)

mc_rb: Remove an S3 bucket using mc command

Description

Remove an S3 bucket using mc command

Usage

mc_rb(bucket, force = FALSE)

Value

Returns the list from processx::run(), with components status, stdout, stderr, and timeout; invisibly.

Arguments

bucket

Character string specifying the name of the bucket to remove

force

Delete bucket without confirmation in non-interactive mode

Examples

Run this code
if (FALSE) { # interactive()

# Create a new bucket named "my-bucket" on the "play" system
mc_mb("play/my-bucket")
mc_rb("play/my-bucket")
}

Run the code above in your browser using DataLab