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.