Re: [R] empty density plot for point pattern in spatstat

2014-07-02 Thread Christopher W Ryan
Thanks, this solves my problem. On R 3.1.0 on Windows XP: library(spatstat) # version 1.37.0 data(redwood) dens <- density(redwood) plot(dens, useRaster=FALSE, ribargs=list(useRaster=FALSE)) # produces the proper plot --Chris Ryan On Fri, Jun 20, 2014 at 5:24 PM, Pablo Ramón wrote: > Hi Chri

Re: [R] empty density plot for point pattern in spatstat

2014-06-20 Thread Pablo Ramón
Hi Chris, Try the form: plot(dens, useRaster=FALSE, ribargs=list(useRaster=FALSE)) Pablo 2014-06-20 15:58 GMT-05:00 Christopher W Ryan : > I'm back in the office with the machine that was giving me trouble. > > # fresh start-up of R 3.1.0, installed on the my machine's hard drive, > #under W

Re: [R] empty density plot for point pattern in spatstat

2014-06-20 Thread Christopher W Ryan
I'm back in the office with the machine that was giving me trouble. # fresh start-up of R 3.1.0, installed on the my machine's hard drive, #under Windows XP Service Pack 3. # spatstat version 1.37-0 library(spatstat) data(redwood) dens <- density(redwood) str(dens) # everything looks to be in ord

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Adrian Baddeley
stopher W Ryan; R-help Subject: Re: [R] empty density plot for point pattern in spatstat Dear Adrian, Yes, effectively utilizanddo useRaster = FALSE, the plot is printed. Only the ribbon appears without color. I'm using R version 3.0.2, Windows 7 system, and spatstat 1.33-0 package versi

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Prof Brian Ripley
On 19/06/2014 07:00, Adrian Baddeley wrote: I think I have the solution to the problem experienced by users of 'spatstat' on Windows machines, who are finding that plot.im() gives empty colour images. Short answer: set useRaster=FALSE in the call to plot.im. Long answer: spatstat::plot.im calls

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Pablo Ramón
re it out. > > regards > Adrian > > > Prof Adrian Baddeley FAA > University of Western Australia > > From: Pablo Ramón [para...@utpl.edu.ec] > Sent: Wednesday, 18 June 2014 9:36 PM > To: Rolf Turner > Cc: Christopher W Ryan;

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Adrian Baddeley
FAA University of Western Australia From: Pablo Ramón [para...@utpl.edu.ec] Sent: Wednesday, 18 June 2014 9:36 PM To: Rolf Turner Cc: Christopher W Ryan; R-help; Adrian Baddeley Subject: Re: [R] empty density plot for point pattern in spatstat Dear Rolf, The

Re: [R] empty density plot for point pattern in spatstat

2014-06-19 Thread Adrian Baddeley
Adrian Prof Adrian Baddeley FAA University of Western Australia From: Christopher W. Ryan [cr...@binghamton.edu] Sent: Thursday, 19 June 2014 10:29 AM To: Adrian Baddeley; Pablo Ramón; Rolf Turner Cc: R-help Subject: Re: [R] empty density plot for point pattern

Re: [R] empty density plot for point pattern in spatstat

2014-06-18 Thread Christopher W. Ryan
ure it out. > > regards > Adrian > > > Prof Adrian Baddeley FAA > University of Western Australia > > From: Pablo Ramón [para...@utpl.edu.ec] > Sent: Wednesday, 18 June 2014 9:36 PM > To: Rolf Turner > Cc: Christophe

Re: [R] empty density plot for point pattern in spatstat

2014-06-18 Thread Rolf Turner
On 19/06/14 01:36, Pablo Ramón wrote: Dear Rolf, The problem persists with the function plot.im (), or plot (density ()), similar to with(bei.extra, plot (elev)). This problem occurs only with my personal machine, to another machine this problem does not occur. However, when I us

Re: [R] empty density plot for point pattern in spatstat

2014-06-18 Thread Rolf Turner
Don, Pablo and I have been through all that. The structure of the "im" object was fine. I had no problem at all plotting the image on my system. Pablo could get nothing but blank plots on his system. The problem arose, as he said in a post just now, only on his personal machine. The pr

Re: [R] empty density plot for point pattern in spatstat

2014-06-18 Thread Pablo Ramón
Dear Rolf, The problem persists with the function plot.im(), or plot (density ()), similar to with(bei.extra, plot (elev)). This problem occurs only with my personal machine, to another machine this problem does not occur. However, when I use another function, such kde2d () in the MASS package and

Re: [R] empty density plot for point pattern in spatstat

2014-06-18 Thread MacQueen, Don
On my system (see info at the end) the plot succeeds. Can you plot other objects of class "im"? (see ?im for examples) Has it even been determined if the problem is with (a) the plotting process, or (b) the structure of the object being plotted? To check the structure of the object, you might

Re: [R] empty density plot for point pattern in spatstat

2014-06-17 Thread Rolf Turner
On 18/06/14 03:49, Christopher W Ryan wrote: I upgraded to version 3.1.0 of R, still on Win XP, but that did not solve the problem: library(spatstat) data(redwood) str(redwood) plot(redwood) # works OK plot(Kest(redwood)) # works OK plot(density(redwood)) # produces an "empty" plot

Re: [R] empty density plot for point pattern in spatstat

2014-06-17 Thread Christopher W Ryan
I upgraded to version 3.1.0 of R, still on Win XP, but that did not solve the problem: library(spatstat) data(redwood) str(redwood) plot(redwood) # works OK plot(Kest(redwood)) # works OK plot(density(redwood)) # produces an "empty" plot # with just the fi

Re: [R] empty density plot for point pattern in spatstat

2014-05-20 Thread Adams, Jean
It works just fine for me ... using R-3.1.0 on Windows 7 and spatstat version 1.37-0. Jean On Tue, May 20, 2014 at 3:31 PM, Christopher W Ryan wrote: > I'm running R-3.0.3 on Windows XP Professional on an institutional PC. > (My freedom to update to a more recent version of R is limited, > alth

[R] empty density plot for point pattern in spatstat

2014-05-20 Thread Christopher W Ryan
I'm running R-3.0.3 on Windows XP Professional on an institutional PC. (My freedom to update to a more recent version of R is limited, although I might be able to prevail upon the powers that be, if that would solve the problem.) I installed spatstat via install.packages() and received version 1.3