#!/usr/bin/env Rscript source (sprintf ("%s/images/laps3l_graph_code.R", Sys.getenv ("ABS_TOP_SRCDIR"))) plot <- plot_tuning ("rmse", "insurance") filename <- Sys.getenv ("OUTPUT") ggplot2::ggsave (filename, plot, device = "svg", width = 6, height = 3)