fig_dump: save a figure done in R to a file with multiple formats

View source: R/pythontex_utils.R

fig_dumpR Documentation

save a figure done in R to a file with multiple formats

Description

save a figure done in R to a file with multiple formats

Usage

fig_dump(code, outfile = "outputs/test")

Arguments

code

code to be evaluated (as string) to produce the figure

outfile

path without extension

Examples


fig_dump("roc_with_boxplot(sani_mci$score, sani_mci$sani_mci)", outfile = outfile)


lbraglia/lbmisc documentation built on March 28, 2024, 10:03 a.m.