Learn R Programming

slackr (version 1.2)

slackr-package: slackr-package

Description

slackr - A package to work with the Slack.com API

Arguments

Details

Check out:
  • theslackrfunction to send messages,
  • thedev.slackrfunction to send images (copies from current graphics device)
  • theggslackrfunction to send ggplot objects (without plotting to a device first)
  • thesave.slackrfunction to send R objects (as RData files)
  • theslackrUploadfunction to send files

Examples

Run this code
slackrSetup()

# 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