ggflow: Send a rendered ggplot object to Flowdock

Description Usage Arguments Value

View source: R/ggflow.r

Description

Send a rendered ggplot object to Flowdock

Usage

1
2
3
4
5
ggflow(plot = last_plot(), file = "ggplot",
  flow = Sys.getenv("FLOWDOCK_DEFAULT_FLOW", NULL), tags = "", scale = 1,
  width = par("din")[1], height = par("din")[2], units = c("in", "cm",
  "mm"), dpi = 300, limitsize = TRUE,
  flowdock_api_key = Sys.getenv("FLOWDOCK_PAT"), ...)

Arguments

plot

ggplot object

file

prefix for filenames (defaults to ggplot)

flow

parameterized flow name (i.e. "this-flow")

tags

vector of tags for the flow

scale

scaling factor

width

width (defaults to the width of current plotting window)

height

height (defaults to the height of current plotting window)

units

units for width and height when either one is explicitly specified (in, cm, or mm)

dpi

dpi to use for raster graphics

limitsize

when TRUE (the default), ggsave will not save images larger than 50x50 inches, to prevent the common error of specifying dimensions in pixels.

flowdock_api_key

used to authorize you to Flowdoc. You should store this in .Renviron or some other moderately secure place. You can override the pick from the environment by passing it in here.

...

other arguments passed to graphics device

Value

parsed call result (invisibly)


hrbrmstr/flowdockr documentation built on May 17, 2019, 4:57 p.m.