hello everybody i am trying to learn diagrammerR but I get a strange error! Error: syntax error in line 5 near '=' how can I solve it?
Can you post the code an not the screenshot?
library(DiagrammeR) grViz(" digraph boxes_and_circles{ node [shape = circle] A; B; C; D; E; F node = [shape = box] 1; 2; 3; 4; 5; 6; 7; 8 A->1; B->2; B->3; B->4; C->A; 1->D; E->A; 2->4; 1->5; 1->F; E->6; 4->6; 5->7; 6->7;3->8; graph [nodesep = 0.1] }")
Change this to:
node [shape = box]
That is line 5 of the grViz() given it starts on line 2.
grViz()
yes, thanks. What a stupid mistake!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.