powered by
A wrapper to plotting device for easy plotting to Drop Box.
plot2drop(name, type = "png", width = 400, height = 400, open = TRUE, loc = getOption("dropbox_path"), key = getOption("dropbox_key"), ...)
The name of the plot (no file extension needed).
The type of plotting device (png, pdf, etc).
Width of plot.
Height of plot.
logical. If TRUE provides the code to open the plot in default browser.
TRUE
The path to the location of the dropbox public folder.
The dropbox key.
Other arguments passed to the plotting device in type.
Plots to Drop Box and returns the URL to the plot (and optionally opens the plot). Code attemoted to be copied to the clipboard.
# NOT RUN { plot2drop("dfg") plot(1:10) dev.off() # }
Run the code above in your browser using DataLab