Description Usage Arguments Value Examples
Send a ggplot object to LINE
1 2 3 4 |
message |
message (chr) |
token |
the LINE Notify personal access token (chr) |
plot |
ggplot object to save, defaults to last plot displayed |
path |
path to save plot. (chr) |
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. |
... |
other arguments passed to graphics device |
httr
response object (invisibly)
1 2 3 4 5 6 7 8 9 | ## Not run:
library(ggplot2)
Sys.setenv(LINE_API_TOKEN="xxxxxxxxxxxxxxxxxx")
data(iris)
p <- ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length)) +
geom_point()
notify_ggplot("Plotting the Iris", plot = p)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.