Re: [R] Problems exporting graphs

2008-06-27 Thread stephen sefick
I'll surely look into it. Stephen On Fri, Jun 27, 2008 at 1:43 PM, hippie dream <[EMAIL PROTECTED]> wrote: > > This is solved for me. Upgrading R to 2.7.1 sorted out the issue somehow. > Maybe there is a problem with Ubuntu 8.04 and R 2.6.2. Or maybe some other > package was installed that fixed

Re: [R] Problems exporting graphs

2008-06-27 Thread hippie dream
This is solved for me. Upgrading R to 2.7.1 sorted out the issue somehow. Maybe there is a problem with Ubuntu 8.04 and R 2.6.2. Or maybe some other package was installed that fixed it. Whatever the case. Thanks! Prof Brian Ripley wrote: > > On Fri, 27 Jun 2008, stephen sefick wrote: > >> pdf(

Re: [R] Problems exporting graphs

2008-06-27 Thread Prof Brian Ripley
On Fri, 27 Jun 2008, stephen sefick wrote: pdf( "yourfile.pdf", height=22, width=17) #yourcode dev.off() then use the gimp (free) to transform it to .png or whatever else (pdf makes good graph) So do R's graphics devices If you do want to convert PDF to PNG there are much better ways th

Re: [R] Problems exporting graphs

2008-06-27 Thread stephen sefick
pdf( "yourfile.pdf", height=22, width=17) #yourcode dev.off() then use the gimp (free) to transform it to .png or whatever else (pdf makes good graph) On Thu, Jun 26, 2008 at 8:59 PM, Daniel Folkinshteyn <[EMAIL PROTECTED]> wrote: > not sure why it doesn't work, but try the following: > first, p

Re: [R] Problems exporting graphs

2008-06-26 Thread Daniel Folkinshteyn
not sure why it doesn't work, but try the following: first, plot to a regular window, then run: > dev.copy(device=png, file="yourfilename.png") > dev.off() see if that produces a file you want. another note: what do you mean you can't just "copy and paste the graph" in ubuntu? doesn't pressing

[R] Problems exporting graphs

2008-06-26 Thread Sam Albers
I have trying to figure this out all day so hopefully the answer isn't too obvious. I am able to view a graph in the viewer window. However, I need to export graph outside of the viewer window. Here is the script I am using: > png("Compare.png") > plot(compare$DepthSLI, compare$DischargeSLI, col="