Learn R Programming

slackr (version 1.2)

save.slackr: Save R objects to an RData file on slack.com

Description

save.slackr enables you upload R objects (as an R data file) to slack.com and (optionally) post them to one or more channels (if channels is not empty).

Usage

save.slackr(..., channels = "", file = "slackr",
  api_token = Sys.getenv("SLACK_API_TOKEN"))

Arguments

...
objects to store in the R data file
channels
slack.com channels to save to (optional)
file
filename (without extension) to use
api_token
full API token

Value

  • httr response object from POST call

See Also

slackrSetup, dev.slackr, slackrUpload