[R] R graphics display window

2007-08-17 Thread Felipe Carrillo
Hi all: How can the R graphics window be customized programmatically? Either minimized,maximized or change the size of the default that ships with R. Thanks Felipe D. Carrillo Fishery Biologist US Fish Wildlife Service Red Bluff, California 96080

Re: [R] R graphics display window

2007-08-17 Thread Dieter Menne
Felipe Carrillo mazatlanmexico at yahoo.com writes: How can the R graphics window be customized programmatically? Either minimized,maximized or change the size of the default that ships with R. Assuming Windows as OS (which you forgot to mention) windows(width = 2, height = 2, pointsize =

Re: [R] R graphics display window

2007-08-17 Thread Duncan Murdoch
On 16/08/2007 7:35 PM, Felipe Carrillo wrote: Hi all: How can the R graphics window be customized programmatically? Either minimized,maximized or change the size of the default that ships with R. Which device are you working with? Most of them allow the size to be selected in the initial

[R] R Graphics training course - Basel - 21.22.23 may 2007

2007-04-05 Thread Romain Francois
Mango Solutions are pleased to announce the above 3 days R course in Basel as part of our schedule for Q2 2007. --- R Graphics -21th - 23rd May 2007 (Basel)

Re: [R] R graphics with Linux (libpng)

2007-01-16 Thread Rebecca Tagett
Prof Brian Ripley ripley at stats.ox.ac.uk writes: On Thu, 11 Jan 2007, Rebecca Tagett wrote: Hello, I'm trying to adapt some R code that works on Windows so that it will work on a Linux machine. The command : png(myFile.png, width=600, height=600) fails claiming that it

[R] R graphics with Linux (libpng)

2007-01-11 Thread Rebecca Tagett
Hello, I'm trying to adapt some R code that works on Windows so that it will work on a Linux machine. The command : png(myFile.png, width=600, height=600) fails claiming that it is impossible to establish a connection with X11. (Error messages are in French, so I'm not pasting them here!)

Re: [R] R graphics with Linux (libpng)

2007-01-11 Thread Benilton Carvalho
I forgot to mention that bitmap() will do what you want without an X11 connection. b On Jan 11, 2007, at 1:09 PM, Rebecca Tagett wrote: Hello, I'm trying to adapt some R code that works on Windows so that it will work on a Linux machine. The command : png(myFile.png, width=600,

Re: [R] R graphics with Linux (libpng)

2007-01-11 Thread Benilton Carvalho
Hi Rebecca, png (and also jpeg, for example) require an X11 connection. So, assuming you're working from the command line and that your X11 server is up, you would need to do something like: linux$ export DISPLAY=:0.0 before loading R... and if your linux machine is remote (and you're

Re: [R] R graphics with Linux (libpng)

2007-01-11 Thread Prof Brian Ripley
On Thu, 11 Jan 2007, Rebecca Tagett wrote: Hello, I'm trying to adapt some R code that works on Windows so that it will work on a Linux machine. The command : png(myFile.png, width=600, height=600) fails claiming that it is impossible to establish a connection with X11. (Error messages

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Stefan Grosse
pdf(sgr6100.pdf, horizontal=FALSE, onefile=FALSE, height=3, width=3, pointsize=6) Reducing point-size below 6 does not seem to make any difference to the size of text and symbols. Any suggestions to get smaller font sizes? I have never used the pointsize option. Increasing the height

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Jens Scheidtmann
Anupam Tyagi [EMAIL PROTECTED] writes: [...] What is the best format to save R graphics for inclusion into a LaTeX documents? When using pdflatex use pdf for graphics as reference format. Using ps2pdf or some such may have some problems when it comes to alpha channels and transparency. [...]

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-05 Thread Mike Prager
Jens Scheidtmann [EMAIL PROTECTED] wrote: Indispensable is having a good editing cycle. I.e. compile the latex, jump to the position where you are editing the file in the preview, double click somewhere in the preview, move to that position in your editor (or at least near that position).

[R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-04 Thread Anupam Tyagi
Hello, I can't seem to save (or find the default location) when I use the Window Graphic Device's pull down menu. It does not seem to save to the directory I have set using setwd(...). How do I make the pull down menu's work? What is the best format to save R graphics for inclusion into a LaTeX

Re: [R] R Graphics: Saving PDF and other formats from Windows Graphic Device for LaTeX

2006-10-04 Thread Duncan Murdoch
On 10/4/2006 1:11 PM, Anupam Tyagi wrote: Hello, I can't seem to save (or find the default location) when I use the Window Graphic Device's pull down menu. It does not seem to save to the directory I have set using setwd(...). How do I make the pull down menu's work? If you want the best

Re: [R] R Graphics: Saving PDF and other formats from Windows GraphicDevice for LaTeX

2006-10-04 Thread Greg Snow
[EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anupam Tyagi Sent: Wednesday, October 04, 2006 11:11 AM To: r-help@stat.math.ethz.ch Subject: [R] R Graphics: Saving PDF and other formats from Windows GraphicDevice for LaTeX

Re: [R] R Graphics: Saving PDF and other formats from Win dows Graphic Device for LaTeX

2006-10-04 Thread Anupam Tyagi
Thanks. That worked. I am using the following to set-up the device: pdf(sgr6100.pdf, horizontal=FALSE, onefile=FALSE, height=3, width=3, pointsize=6) Reducing point-size below 6 does not seem to make any difference to the size of text and symbols. Any suggestions to get smaller font sizes? I

[R] R graphics help

2005-11-04 Thread shanmuha boopathy
Halo friends, I have a problem to solve in R graphics.. I have a matrix like A= 2 3 4 5 6 7 8 9 4 and I like to generate the same matrix in terms of shaded circles in which the density of shading depends on the value... for eg in the above matrix A the value 2 is a

Re: [R] R graphics help

2005-11-04 Thread TEMPL Matthias
Probably you can get some ideas from the balloonplot function in package gplots. Best, Matthias Halo friends, I have a problem to solve in R graphics.. I have a matrix like A= 2 3 4 5 6 7 8 9 4 and I like to generate the same matrix in terms of shaded circles

[R] R: graphics devices

2005-07-29 Thread Clark Allan
a simple question how does one produce plots on two different graphics devices? / allan__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Re: [R] R: graphics devices

2005-07-29 Thread Sean O'Riordain
Alan, I'm not sure what you mean... perhaps plot(y~x) # to the screen pdf(myplot.pdf) plot(y~x) # write the plot to the file dev.off() # close the file dev.off() # close the graphics window s/ On 29/07/05, Clark Allan [EMAIL PROTECTED] wrote: a simple question how does one produce plots on

Re: [R] R: graphics devices

2005-07-29 Thread Clark Allan
one could use the par command to plot several plots on 1 graphics device. i would like to do the following: say plot(y~x) on one screen and then plot(q~w) on another screen so that one can see both of them together but not on the same graphics device. Sean O'Riordain wrote: Alan, I'm not

Re: [R] R: graphics devices

2005-07-29 Thread TEMPL Matthias
Eventually one way: With X11() you can open additional graphic devices. x - rnorm(100) y - x + runif(100) plot(x) X11() plot(x,y) Best, Matthias a simple question how does one produce plots on two different graphics devices? / allan __

Re: [R] R: graphics devices

2005-07-29 Thread Chuck Cleland
Is this on windows? If so, how about the following: windows() plot(y~x) windows() plot(q~x) For me, this creates two different plot _windows_ and you could tile them to see each side-by-side. But I'm not sure how that would be preferable to having the plots in the same window.

Re: [R] R: graphics devices

2005-07-29 Thread Sean O'Riordain
actually X11() also works under windows! X11() plot(y~x) X11() plot(q~x) On 29/07/05, Chuck Cleland [EMAIL PROTECTED] wrote: Is this on windows? If so, how about the following: windows() plot(y~x) windows() plot(q~x) For me, this creates two different plot _windows_ and

Re: [R] R: graphics devices

2005-07-29 Thread Spyridoula Tsonaka
of Leuven Kapucijnenvoer 35 B-3000 Leuven Belgium Tel: +32/16/336899 Fax: +32/16/337015 - Original Message - From: Clark Allan [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Friday, July 29, 2005 1:30 PM Subject: [R] R: graphics devices a simple question how does one produce

Re: [R] R: graphics devices

2005-07-29 Thread ronggui
@stat.math.ethz.ch Sent: Friday, July 29, 2005 1:30 PM Subject: [R] R: graphics devices a simple question how does one produce plots on two different graphics devices? / allan 2005-07-29 -- Deparment of Sociology Fudan University Blog:http://sociology.yculblog.com

Re: [R] R: graphics devices

2005-07-29 Thread Don MacQueen
I'd suggest starting with the documentation. See ?Devices and then look at some of the other functions referenced in the See Also section of ?Devices. Basically, you produce plots on two different graphics devices by this sequence: 1) open a graphics device 2) produce a plot 3)

Re: [R] R: graphics devices

2005-07-29 Thread Prof Brian Ripley
/336899 Fax: +32/16/337015 - Original Message - From: Clark Allan [EMAIL PROTECTED] To: r-help@stat.math.ethz.ch Sent: Friday, July 29, 2005 1:30 PM Subject: [R] R: graphics devices a simple question how does one produce plots on two different graphics devices? / allan 2005

Re: [R] R: graphics devices

2005-07-29 Thread Berton Gunter
:09 AM To: ronggui Cc: r-help@stat.math.ethz.ch Subject: Re: [R] R: graphics devices This is for Windows only, and documented in ?windows README.rw2011 (or whatever) It's more usual to switch recording on when you need it, either in the windows() call or from a menu. ?options only

[R] R graphics

2005-07-21 Thread Sam Baxter
Hi I am trying to set up 16 graphs on one graphics page in R. I have used the mfrow=c(4,4) command. However I get a lot of white space between each graph. Does anyone know how I can reduce this? Thanks Sam __ R-help@stat.math.ethz.ch mailing list

Re: [R] R graphics

2005-07-21 Thread joerg van den hoff
Sam Baxter wrote: Hi I am trying to set up 16 graphs on one graphics page in R. I have used the mfrow=c(4,4) command. However I get a lot of white space between each graph. Does anyone know how I can reduce this? Thanks Sam __

Re: [R] R graphics

2005-07-21 Thread Sundar Dorai-Raj
Sam Baxter wrote: Hi I am trying to set up 16 graphs on one graphics page in R. I have used the mfrow=c(4,4) command. However I get a lot of white space between each graph. Does anyone know how I can reduce this? Thanks Sam Two options: 1. play around with the `mar' parameter

Re: [R] R graphics

2005-07-21 Thread Earl F. Glynn
Sam Baxter [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I am trying to set up 16 graphs on one graphics page in R. I have used the mfrow=c(4,4) command. However I get a lot of white space between each graph. Does anyone know how I can reduce this? The default par()$mar is

[R] R graphics + non-R langs

2003-10-12 Thread Timur Elzhov
Hello, dear R experts! One of the first reasons I began to use R, was its beautiful plotting capabilities. I found them very nice and simple. But at the last time I consider another languages (Perl, Python) for coding my scientific applications. So for now, in order to plot graphics I have to

Re: [R] R graphics + non-R langs

2003-10-12 Thread Uwe Ligges
Timur Elzhov wrote: Hello, dear R experts! One of the first reasons I began to use R, was its beautiful plotting capabilities. I found them very nice and simple. But at the last time I consider another languages (Perl, Python) for coding my scientific applications. So for now, in order to plot

Re: [R] R graphics + non-R langs

2003-10-12 Thread Gabor Borgulya
2003-10-12, v keltezssel Timur Elzhov ezt rta: at the last time I consider another languages (Perl, Python) for The question is: what about R graphics? Is it so hard to bind it with any non-R languages? Try RPy (R from Python)! http://rpy.sourceforge.net/ Gbor

AW: Re: [R] R-Graphics: Scaling axis

2003-03-12 Thread Till Baumgaertel
: Re: [R] R-Graphics: Scaling axis Excuse me, but that is not `how you do it'. R has two automated ways. One is the parameter `asp': see ?plot.window, and the other is the function eqscplot() in package MASS. Neither need manual intervention (unless your output device cannot plot square pixels

[R] R-Graphics: Scaling axis

2003-03-11 Thread Till Baumgaertel
Hi, how can I scale the x- and y-axis of a plot to the same scale? My problem: The following command sequence produces the plot in a square. What I want is the x-axis to be 5 times as wide (measured e.g. in pixels) as the y-axis is long (because y ranges from -1 to 1 and x ranges from 0 to 10).

[R] R Graphics Crash Problem

2003-02-28 Thread a a
I recently built R 1.6.2 on solaris 2.8 with gcc 3.2. Things seem to run OK, but using graphics causes R to core dump. (For instance, by using the plot() or hist() functions.) Sometimes I can see the graphics drawn before it actually core dumps. The core file shows a crash in Rf_gpptr. I'm

Re: [R] R Graphics Crash Problem

2003-02-28 Thread ripley
This is a known bug in gcc 3.2.1 and 3.2.2: are you using either of those? It is described in the R-admin manual: please consult it for details. The Sun Forte compilers work, and the actual 3.2 does work for me. On Fri, 28 Feb 2003, a a wrote: I recently built R 1.6.2 on solaris 2.8 with gcc

Re: [R] R Graphics Crash Problem

2003-02-28 Thread a a
Thanks for the help. I had in fact used gcc 3.2.1 to build. Rebuilding using the SunPro compiler seems to have fixed the problem. B Jones --- [EMAIL PROTECTED] wrote: This is a known bug in gcc 3.2.1 and 3.2.2: are you using either of those? It is described in the R-admin manual: please