Learn R Programming

gofigR (version 0.3.1)

enable: Enables GoFigr support.

Description

Enables GoFigr support.

Usage

enable(
  auto_publish = FALSE,
  analysis_api_id = NULL,
  analysis_name = NULL,
  workspace = NULL,
  create_analysis = TRUE,
  analysis_description = NULL,
  watermark = QR_WATERMARK,
  verbose = FALSE,
  debug = FALSE,
  show = "watermark"
)

Value

named list of GoFigr options

Arguments

auto_publish

will publish all plots automatically if TRUE. Note that setting this option will re-assign plot() and print() in the global environment.

analysis_api_id

Analysis API ID (if analysis_name is NULL)

analysis_name

Analysis name (if analysis_api_id is NULL)

workspace

API ID of the workspace

create_analysis

if TRUE and analysis_name does not exist, it will be automatically created

analysis_description

analysis description if creating a new analysis

watermark

watermark class to use, e.g. QR_WATERMARK, LINK_WATERMARK or NO_WATERMARK

verbose

whether to show verbose output

debug

whether to show debugging information

show

which figure to display in the document: original, watermark, or hide. Note that this setting \ only affects the display and doesn't change what gets published: e.g. even if you choose to display \ the original figure, the watermarked version will still be published to GoFigr.