Convert a 'LaTeX' expression to an image (render)
This calls tex_preview
to render a 'LaTeX' expression into an image, either as a temporary file or saved to disk.
render_latex(latex, fileDir = NULL, ...)
latex
: 'LaTeX' code to be evaluated. Surround in $
or $$
.fileDir
: directory in which to save the image to (defaults to /tmp/tempfile()
)....
: other options to pass to tex_preview
.NULL (invisibly)