User Tools

Site Tools


blog:control_r_figure_output_format

Control R figure output format

To control the site wide option, use

nano Rhome/etc/Rprofile.site

The home path (Rhome) can be found using

R.home(component = "home")

On Ubuntu, it is often /usr/lib/R.

In the Rprofile.site, input

options(device='svg')

will change the default output to svg instead of pdf.

You could leave a comment if you were logged in.

Page Tools