Skip to content
Prev 326809 / 398502 Next

Set window title for plot on any OS

On 13-07-13 1:33 PM, Simon Zehnder wrote:
Use dev.new() rather than picking a particular device.  If all the 
possible devices support the "title" argument, then

dev.new(title=title)

will be fine.  If you might need more customization (or want to protect 
against a user who chooses a device that doesn't have "title" as an 
argument), use getOption("device") to examine the call that will be used.

Duncan Murdoch