Dear R users, I have changed my R version to the new 1.8.1 and some problems appears when using the previous levelplot code. This is a simple example: a <-1:10 b <-11:20 j <- rnorm(100) grid<-expand.grid(a = a, b = b) levelplot(j~a*b, grid) Normaly in my previous vs this was suffice to produce the levelplot. Now, an empty R graphics device appears with the following error message: Error in grid.pack(frame = key.gf, row = 1, col = 1, grob = grid.rect(x =rep(0.5, : unused argument(s) (frame ...) Are there any solution? Thanks in advance H -- ......................................................... Hernan J. Dopazo Bioinformatica. CNIO c/ Melchor Fern?ndez Almagro 3 28029, Madrid, Espa?a Tfn: (34) 91 224 69 00 ext: 2428 Fax: (34) 91 224 69 23 http://bioinfo.cnio.es .........................................................
>>>>> "Hernan" == Hernan Dopazo <hdopazo at cnio.es> >>>>> on Tue, 9 Mar 2004 12:46:51 +0100 writes:Hernan> Dear R users, Hernan> I have changed my R version to the new 1.8.1 and some problems appears when Hernan> using the previous levelplot code. Hernan> This is a simple example: after library(lattice) ! Hernan> a <-1:10 Hernan> b <-11:20 Hernan> j <- rnorm(100) Hernan> grid<-expand.grid(a = a, b = b) Hernan> levelplot(j~a*b, grid) This works fine for me. Hernan> Normaly in my previous vs this was suffice to Hernan> produce the levelplot. Now, an empty R graphics Hernan> device appears with the following error message: Hernan> Error in grid.pack(frame = key.gf, row = 1, col = 1, Hernan> grob = grid.rect(x =rep(0.5, : unused argument(s) Hernan> (frame ...) I assume that you somehow managed to use an old version of "grid" or "lattice" instead of the ones that ``come with R 1.8.1''. Can you try to look at .path.package() after library(grid) ; library(lattice) and make sure that both packages come from the same place as "base" e.g. ? Regards, Martin Maechler <maechler at stat.math.ethz.ch> http://stat.ethz.ch/~maechler/ Seminar fuer Statistik, ETH-Zentrum LEO C16 Leonhardstr. 27 ETH (Federal Inst. Technology) 8092 Zurich SWITZERLAND phone: x-41-1-632-3408 fax: ...-1228 <><
On Tuesday 09 March 2004 05:46, Hernan Dopazo wrote:> Dear R users, > > I have changed my R version to the new 1.8.1 and some problems appears > when using the previous levelplot code. > > This is a simple example: > > a <-1:10 > b <-11:20 > j <- rnorm(100) > grid<-expand.grid(a = a, b = b) > levelplot(j~a*b, grid) > > Normaly in my previous vs this was suffice to produce the levelplot. > Now, an empty R graphics device appears with the following error > message: > > Error in grid.pack(frame = key.gf, row = 1, col = 1, grob = grid.rect(x > =rep(0.5, : unused argument(s) (frame ...)This shouldn't happen (and doesn't happen for me). What OS and what version of lattice are you using ? Deepayan