Re: [R] get plot in a window when running R in the shell

From: Barry Rowlingson <>
Date: Tue 17 May 2005 - 00:04:27 EST

bogdan romocea wrote:

> however I want the plots to appear in a window (as it happens when the
> code is run interactively) instead of being saved in ''. Is
> that doable?

  You could explicitly startup an X11 graphics device before your first plot in your R source code, something like:


Works for me, although the window will disappear very quickly unless the script pauses before ending!

Baz mailing list PLEASE do read the posting guide! Received on Tue May 17 00:22:19 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:46 EST