[R] empty density plot for point pattern in spatstat

Christopher W Ryan cryan at binghamton.edu
Tue May 20 22:31:48 CEST 2014


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.37-0.

Here is some code:

library(spatstat)
data(redwood)
plot(redwoods)  # works OK
plot(Kest(redwood))  # works OK
plot(density(redwood))  # produces an "empty" plot as described above

Any suggestions? What am I missing?

Thanks.

--Chris Ryan



More information about the R-help mailing list