taskStatus {twitteR} | R Documentation |
This function will run an R expression and send a direct message to a specified user on success or failure.
taskStatus(expr, to, msg="", session=getCurlHandle())
expr |
An R expression that will be run |
to |
The user to send a message to, either character or
an user object. |
msg |
An extra message to append to the standard DM |
session |
A session object from initSession |
This function will run expr
, and send a Direct Message (DM)
upon completion which will report the expression's success or failure.
Either the value of the expression or an object of class
try-error
.
Jeff Gentry
## Not run: sess <- initSession('myuser', 'mypass') taskStatus(z<-5, "username", session=sess) ## End(Not run)