Nothing
#' Reads/loads a figure image from file.
#'
#' Reads a .jpg, .jpeg, .png, or .tiff image file containing a plotted figure.
#'
#' @param file The file name and location of a plot figure. Prompts
#' for file name if none is explicitly called. Preferably in .jpg format.
#' @param display When \code{"TRUE"}, displays the figure as a raster image.
#'
#' @return An \code{EBImage} object figure.
#'
#' @seealso \link{figure_write}
#'
#' @export
figure_read <- function (file = file.choose(),
display = FALSE) {
# if EBImage not installed, do it
.metagearDependencies("EBImage")
# load figure
aFigure <- EBImage::readImage(file)
if(display) EBImage::display(aFigure, method = "raster")
return (aFigure)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.