[R] Function arguments sometimes ignored

Matthias Gondan matthias-gondan at gmx.de
Thu Nov 8 14:24:45 CET 2007


Dear List,

I encountered a strange problem when trying to print a
path diagram:

 > path.diagram(s,
+     ingore.double=FALSE,
+     edge.labels='values')
digraph "s" {
   rankdir=LR;
   size="8,8";
   node [fontname="Helvetica" fontsize=14 shape=box];
   edge [fontname="Helvetica" fontsize=10];
   center=1;
   "TIME" -> "SALARY" [label="1096.03"];
   "PUBS" -> "SALARY" [label="133"];
}
 > path.diagram(s, ignore.double=FALSE, edge.labels='values')
digraph "s" {
   rankdir=LR;
   size="8,8";
   node [fontname="Helvetica" fontsize=14 shape=box];
   edge [fontname="Helvetica" fontsize=10];
   center=1;
   "TIME" -> "SALARY" [label="1096.03"];
   "PUBS" -> "SALARY" [label="133"];
   "TIME" -> "PUBS" [label="38.97" dir=both];
   "TIME" -> "TIME" [label="18.3" dir=both];
   "PUBS" -> "PUBS" [label="196.12" dir=both];
   "SALARY" -> "SALARY" [label="57393086.81" dir=both];
}


The ignore.double option seems to be ignored when I split the
command across multiple lines. A bug in R? (Windows binary, 2.6.0)

Best wishes,

Matthias Gondan



More information about the R-help mailing list