Log an image to the run with the give metric name. Use log_image_to_run() to log an image file or ggplot2 plot to the run. These images will be visible and comparable in the run record.

log_image_to_run(name, path = NULL, plot = NULL, description = "", run = NULL)

Arguments

name

A string of the name of the metric.

path

A string of the path or stream of the image.

plot

The ggplot2 plot to log as an image.

description

(Optional) A string of the metric description.

run

The Run object. If not specified, will default to the current run from the service context.

Value

None