Hello, I have a basic question about the display() function, but I can't find the answer easily. I am running R 2.7.16.0 on Suse linux 11.0 with KDE 4.0 I have several desktops, that I use at the same time, called Desktop 1, Desktop 2, etc. I want to open a X11() window in another desktop than the one I'm working from. I tried to do this by using: X11(display="Desktop 1"); However, this results in an error: Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype, : unable to start device X11cairo In addition: Warning message: In X11(display = "Desktop 1") : unable to open connection to X11 display 'Desktop 1' If I make a window with just x11() and than move the window manually to another desktop, It works fine, i.e. I can draw a plot in that window. I am probably just missing some basic syntax rules here. What should I do to get my X11 window to be generated on another desktop than the one i was working from? Thanks in advance, Mathijs Groeneweg [[alternative HTML version deleted]]
On Wed, 27-Aug-2008 at 02:42PM +0200, Groeneweg M (GEN) wrote: |> Hello, |> |> I have a basic question about the display() function, but I can't find the answer easily. |> |> I am running R 2.7.16.0 on Suse linux 11.0 Are you sure of that? R-2.7.2 is the most recent. |> with KDE 4.0 Your question is one relating to your window manager. The display parameter for x11() does not relate to desktops. All the desktops are part of the same display. Some very clever R-devel people might be able to think of a way of making a specific X call to achieve what you want, but it seems unlikely to me that it could be make to work with more than one window manager. It's very simple in KDE to set up keyboard shortcuts to move a window to a specific desktop. HTH -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___ Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Middle minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) ..... Anon ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.