[18851] in s-news-athena

home help back first fref pref prev next nref lref last post

[S] Error in trellis.par.set()

daemon@ATHENA.MIT.EDU (Yang, Richard)
Wed Aug 4 11:07:55 1999

Message-Id: <89FE27F96119D111973400805FBE5A30414E40@s2-edm-r1.nofc.cfs.nrcan.gc.ca>
From: "Yang, Richard" <dyang@nrcan.gc.ca>
To: "'s-news@wubios.wustl.edu'" <s-news@wubios.wustl.edu>
Date: Wed, 4 Aug 1999 11:02:02 -0400 
Mime-Version: 1.0
Content-Type: text/plain


Hello;

I followed V&R's example and tried to set trellis parameters using
trellis.par.set():

  >sps <- trellis.par.get("superpose.symbol")
  >sps$pch <- 1:7
  >trellis.par.set("superpose.symbol", sps)

The function resulted an error msg:

  >Error in trellis.par.set: Missing value where logical needed: if(p[i] !=
q[i]) stop("inconsistent component names")

Tracing back to the trellis.par.set(name, value)

   >dev <- get(".Device", where = 0)
   >current <- attr(dev, "trellis.settings")[[name]]

I found the attr() returned NULL given dev = "graphsheet" and name =
"superpose.symbol".

Did I miss anything? I am using Splus 4.5 Professional on NT sp3.

Any help is appreciated.

Richard 





---------------------------------------------------------
Richard Yang

Canadian Forest Service              Phone: 780-435-7247
5320 122 St                                 Fax:      780-435-7359
Edmonton Alberta Canada           e-mail:  dyang@nrcan.gc.ca


-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

home help back first fref pref prev next nref lref last post