Learn R Programming

dstack (version 0.2.1)

push: Push All Commits to Server

Description

Tis function is used to send a banch of commited plots to server or say server that operation with this frame is done. In the case of 'auto_push' mode it sends only a total number of views in the frame. So call this method is obligatory to close the frame anyway.

Usage

push(frame, message = NULL)

Arguments

frame

A frame to push.

message

Push message. NULL by default.

Value

Stack URL.

Examples

Run this code
# NOT RUN {
library(ggplot2)
library(dstack)
image <- qplot(clarity, data = diamonds, fill = cut, geom = "bar")
frame <- create_frame(stack = "diamonds")
frame <- commit(frame, image, "Diamonds bar chart")
print(push(frame)) # print actual stack URL
# }

Run the code above in your browser using DataLab