save a flextable as an image and display the result in a new R graphics window.

# S3 method for flextable
plot(x, zoom = 2, expand = 2, ...)

Arguments

x

a flextable object

zoom, expand

parameters used by webshot function.

...

additional parameters sent to plot function

Note

This function requires packages: webshot and magick.

See also

Examples

ft <- flextable( head( mtcars ) ) ft <- autofit(ft)
# NOT RUN { if( require("webshot") ){ plot(ft) } # }