[R] Is it possible to modify the position of the graphic window ?
Martin Maechler
maechler at stat.math.ethz.ch
Wed Nov 7 10:50:31 CET 2007
>>>>> "RT" == Rolf Turner <r.turner at auckland.ac.nz>
>>>>> on Wed, 7 Nov 2007 09:57:12 +1300 writes:
RT> On 7/11/2007, at 9:12 AM, Prof Brian Ripley wrote:
>> 1) Did you merge the resources or restart X? You need to
>> in order to get new resources to be recognized.
>>
>> xrdb -merge ~/.Xresources would be needed to merge
>> resources into the current X session.
RT> No I didn't. Didn't know or didn't remember
RT> about the merge business. Dang! That works. But only
RT> for the auto-start device, not for x11().
Really? It should influence all instances of x11(), not only
the "auto-start device" --- which, BTW, is identical to
getOption("device") as has been mentioned here ---
and it does so for me {on Linux}.
BTW: For testing, you can use xrdb directly, i.e., in a shell:
echo 'R_x11*geometry: 500x700-0-0' | xrdb -merge
The above option looking useful for my typical use with ESS.
Martin
>> I don't know if MacOS X11 is standard enough to support
>> this, but it is a very long-standing basic part of X11.
>>
>> 2)
>> options(device=function() x11(xpos=-1)) plot(1:10)
>>
>> should work (does for me): it does not affect x11() in
>> any way, just the auto-start graphics device.
RT> Right. That works too. Missed the distinction
RT> between x11() and the auto-start device.
RT> Thanks very much.
RT> cheers,
RT> Rolf
RT> ######################################################################
RT> Attention:\ This e-mail message is privileged and
RT> confid...{{dropped:9}}
RT> ______________________________________________
RT> R-help at r-project.org mailing list
RT> https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do
RT> read the posting guide
RT> http://www.R-project.org/posting-guide.html and provide
RT> commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list