[R] problem with win.metafile( ): traceback()

Deepayan Sarkar deepayan at stat.wisc.edu
Sun Oct 19 18:48:08 CEST 2003


On Sunday 19 October 2003 11:49, Paul, David A wrote:
> For the first error message:
> > win.metafile(file = "//.../plot1.wmf",
> + width = 8.5, height = 6.25)

Could you check what the value of the .Device variable (and .Devices as well) 
is at this point ? And not that it should matter, but what happens if you use

trellis.device(win.metafile, file = "//.../plot1.wmf",
               width = 8.5, height = 6.25)

Deepayan


> > lset( list( background = list(col = "white")))
>
> Error in get(x, envir, mode, inherits) :
> variable "win.metafile://.../plot1.wmf" was not found
>
> > traceback()
>
> 4: get(device)
> 3: trellis.device(device = .Device, new = FALSE)
> 2: trellis.par.get(item)
> 1: lset(list(background = list(col = "white")))




More information about the R-help mailing list