get_environment | R Documentation |
Manage Environment Variables for a piece of content.
get_environment(content)
set_environment_new(env, ...)
set_environment_remove(env, ...)
set_environment_all(env, ...)
content |
An R6 Content object as returned by |
env |
An R6 Environment object as returned by |
... |
name = value pairs of environment variable names and values |
get_environment()
returns an Environment object for use with "setter" methods
set_environment_new()
updates environment values (either creating new
values or updating existing). Set NA
as the value to remove a variable.
set_environment_remove()
is a wrapper on set_environment_new()
that
allows removing named / listed variables quickly
set_environment_all()
sets all environment variable values (will remove
variables not specified)
Other content functions:
content_delete()
,
content_item()
,
content_title()
,
content_update()
,
create_random_name()
,
dashboard_url()
,
dashboard_url_chr()
,
delete_thumbnail()
,
delete_vanity_url()
,
deploy_repo()
,
get_bundles()
,
get_image()
,
get_job()
,
get_jobs()
,
get_thumbnail()
,
get_vanity_url()
,
git
,
has_thumbnail()
,
permissions
,
set_image_path()
,
set_run_as()
,
set_thumbnail()
,
set_vanity_url()
,
swap_vanity_url()
,
terminate_jobs()
,
verify_content_name()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.