Re: [R] Converting the graphics window to a data matrix

2011-05-20 Thread Greg Snow
Behalf Of Beutel, Terry S > Sent: Thursday, May 19, 2011 10:02 PM > To: Barry Rowlingson > Cc: r-help@r-project.org > Subject: Re: [R] Converting the graphics window to a data matrix > > Thanks Barry. I have now got as far as creating the png (or gif or > tiff) images (as per your su

Re: [R] Converting the graphics window to a data matrix

2011-05-19 Thread Beutel, Terry S
Terry -Original Message- From: b.rowling...@googlemail.com [mailto:b.rowling...@googlemail.com] On Behalf Of Barry Rowlingson Sent: Thursday, 19 May 2011 4:19 PM To: Beutel, Terry S Cc: r-help@r-project.org Subject: Re: [R] Converting the graphics window to a data matrix On Thu, May 19

Re: [R] Converting the graphics window to a data matrix

2011-05-18 Thread Michael Sumner
See library(grid) ?grid.cap and this page for background: http://developer.r-project.org/Raster/raster-RFC.html On Thu, May 19, 2011 at 2:19 PM, Beutel, Terry S < terry.beu...@deedi.qld.gov.au> wrote: > I'm wondering if anyone is aware of a way to take what is visible in the > R graphics win

Re: [R] Converting the graphics window to a data matrix

2011-05-18 Thread Barry Rowlingson
On Thu, May 19, 2011 at 5:19 AM, Beutel, Terry S wrote: > I'm wondering if anyone is aware of a way to take what is visible in the > R graphics window, pixelate it, and express that pixellation in a > numeric matrix. For example, I am using the following command to create > a  black (present) and

[R] Converting the graphics window to a data matrix

2011-05-18 Thread Beutel, Terry S
I'm wondering if anyone is aware of a way to take what is visible in the R graphics window, pixelate it, and express that pixellation in a numeric matrix. For example, I am using the following command to create a black (present) and white (absent) spatial simulation of grass tussock distribution.