analogsea (version 0.8.0)

space_create: Create a new Space

Description

Create a new Space

Usage

space_create(
  name,
  spaces_region = NULL,
  spaces_key = NULL,
  spaces_secret = NULL,
  ...
)

Arguments

name

(character) The name of the new Space

spaces_region

(character) String containing a spaces region. If missing, defaults to value stored in an environment variable DO_SPACES_REGION.

spaces_key

(character) String containing a spaces access key. If missing, defaults to value stored in an environment variable DO_SPACES_ACCESS_KEY.

spaces_secret

(character) String containing the secret associated with the spaces key. If missing, defaults to value stored in an environment variable DO_SPACES_SECRET_KEY.

...

Additional arguments to aws.s3::put_bucket

Value

(character) The name of the created Space.

Examples

Run this code
# NOT RUN {
# Create a new Space
# (Names must be unique within region)
space_create("new_space_name")
# }

Run the code above in your browser using DataLab