Description Usage Arguments Value See Also Examples
View source: R/send_functions.R
Send images of GGplot which are currently shown in the plots pane of RStudio or elsewhere.
1 2 3 4 | send_webhook_ggplot(
conn = get_default_discord_connection(),
filename = tempfile(pattern = "discordr", fileext = ".png")
)
|
conn |
Discord Connection Object containing Webhook and Username |
filename |
Optional - Filepath indicating where to save image; Provide to manually override the temporary directory and filename |
None
send_plot_code
, send_file
, send_message
, send_console
1 2 3 4 | ## Not run:
send_current_ggplot()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.