Skip to contents

Prints a browsable htmlwidget (that for example might show in RStudio viewer pane to a png file)

Usage

print_html_as_png(x, file, background = "white")

Arguments

x

a browsable htmlwidget

file

a file path to write the image to

background

colour for the image

Value

invisibly the file path of written image