push_frame: Creates a Frame, Commits and Pushes Data in a Single Operation
Description
In the case of one plot per push you can use do all operations in one call.
This function creates a frame, commits view and pushes all data to server.
The main difference in behaviour in this case is the function creates frame
without permission check, so be sure that you have certain permission to push in the stack.
# NOT RUN {library(ggplot2)
library(dstack)
image <- qplot(clarity, data = diamonds, fill = cut, geom = "bar")
push_frame("diamonds", image, "Diamonds bar chart")
# }