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.
blog/control_r_figure_output_format.txt · Last modified: 2017/01/09 10:12 by johnny