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 ? >
Umm, I think that one only seemingly "works". It does the same as plain x11(xpos=500) followed by options(device=NULL) (try removing the window and then plot(0)). More likely, you want options(device = function() x11(xpos=500) ) which you can handle using the techniques described under ?Startup (i.e. stick it in a .Rprofile file, for instance). (xpos=-1 might be better if you switch between different-sized screens, though) > 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@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. >>> >>> > > -- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@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.