Learn R Programming

slackr (version 2.0.1)

slackr-package: slackr-package

Description

slackr - A package to work with the Slack API

Arguments

Details

Mega thanks to:

for their contributions to the package!

Check out:

  • the slackr function to send messages,

  • the dev_slackr function to send images (copies from current graphics device)

  • the ggslackr function to send ggplot objects (without plotting to a device first)

  • the save_slackr function to send R objects (as RData files)

  • the slackr_upload function to send files

Examples

Run this code
# NOT RUN {
slackr_setup()

# send objects
slackr("iris info", head(iris), str(iris))

# send images
library(ggplot2)
qplot(mpg, wt, data=mtcars)
dev.slack("#results")

ggslackr(qplot(mpg, wt, data=mtcars))

# }

Run the code above in your browser using DataLab