[R] Is it possible to modify the position of the graphic window ?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Tue Nov 6 18:39:48 CET 2007
On Tue, 6 Nov 2007, 8rino-Luca Pantani wrote:
> I see.
> Thanks for your highly appreciated help, Prof. Ripley.
>
>
> I've been reading the x11 help file, only after people from this list told me
> that it is the default in Linux
>
> Please consider that I recently (and definitely) moved to linux from Windows,
> and I still need to re-learn a lot of things.
>
> I did'nt know that with "options" was possible to change the x11 windows.
> I typed the following, and it worked
> options(device= x11(xpos =500))
> moving the window on the left
> Now, if I'm allowed to push your patience a little further, how can I make
> this change permanent ?
Better to use resources. But you can use (in .Rprofile)
options(device=function() x11(xpos=-1))
The resources version would be to put in ~/.Xresources something like
R_x11*geometry: 700x700-0+0
> Thanks again
> Ottorino Pantani
>
> Prof Brian Ripley ha scritto:
>> On Linux the default graphics device is X11(), and not so on Windows.
>>
>> ?X11 tells you no less than *two* ways to do this: I do wonder why you
>> don't just read the help file?
>>
>> ?options (see 'device') tells you how to set up a default device which you
>> could use to change default arguments, but using the X11 geometry resources
>> is the canonical way to do this.
>>
>> On Tue, 6 Nov 2007, 8rino-Luca Pantani wrote:
>>
>>> There's a Renviron file under /etc/R, but there are no lines with
>>> "position (x, y)".
>>>
>>> Henrique Dallazuanna ha scritto:
>>>> In the Windows the file Rconsole contains the position(x,y) of the
>>>> graphics.
>>>> I don't know if file have the same name in Ubuntu.
>>>>
>>>
>>> ______________________________________________
>>> R-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list