To use this function, make sure that you have set the following in your .Renviron:

  • AWS_ACCESS_KEY_ID

  • AWS_SECRET_ACCESS_KEY

  • AWS_DEFAULT_REGION

t_save_aws(
  bucket = getOption("aws_bucket"),
  dir = getOption("aws_dir", "data")
)

Arguments

bucket

The aws bucket to save to. Can be set globally with options()

dir

The directory in the bucket to save to. Can be set globally with options()