space_upload | R Documentation |
Upload a directory to an existing Space
space_upload(
name,
local = NULL,
remote = NULL,
spaces_region = NULL,
spaces_key = NULL,
spaces_secret = NULL,
...
)
name |
(character) The name of the existing Space |
local |
(character) The name of the local directory |
remote |
(character) The name of the remote directory |
spaces_region |
(character) String containing a spaces region. If
missing, defaults to value stored in an environment variable
|
spaces_key |
(character) String containing a spaces access key. If
missing, defaults to value stored in an environment variable
|
spaces_secret |
(character) String containing the secret associated
with the spaces key. If missing, defaults to value stored in an environment
variable |
... |
Additional arguments to |
(character) Success/error message.
## Not run:
# Upload to an existing Space
# (Check names within region)
space_upload("my_space", "my_subdir", "my_subdir", "nyc3",
spaces_key = Sys.getenv("SPACES_KEY"),
spaces_secret = Sys.getenv("SPACES_SECRET"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.