Hey, I cannot get any of the lattice library functions to work.  An
example R code is:

library(lattice)
xyplot(c(2,3,4,5,6) ~ c(1,2,3,4,5))

It works fine if xyplot is replaced by plot, so I feel strongly the
problem is something to do with the lattice package.  I have tried
this with R version 2.6.1 and 2.5.0 and in both cases no plot is
generated.  I have also tried the following R code (dumping the plot
to a file):

postscript('test.ps', )
library(lattice)
x <- seq(pi/4, 5 * pi, length = 100)
y <- seq(pi/4, 5 * pi, length = 100)
r <- as.vector(sqrt(outer(x^2, y^2, "+")))
grid <- expand.grid(x=x, y=y)
grid$z <- cos(r^2) * exp(-r/(pi^3))
wireframe(z ~ x * y, grid, cuts=50)
dev.off()

which generates an empty ps file, again this works fine for
non-lattice plots (e.g. plot), but fails for lattice plots.  Sadly I
cannot determine what is dying or where, the R code executes fine in
R, but fails when sent over the R DCom interface...

Any suggestions/help would be greatly appreciated.
Matt Spear
[EMAIL PROTECTED]
_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to