Dear eshi, That depends on your system. On my Windows Vista system, dot.exe lives in C:\Graphviz2.20\bin, so I placed this directory on my path, via the System Properties -> Advanced tab -> Environment Variables dialog, editing either the user variables or system variables.
I hope this helps, John -------------------------------- John Fox Senator William McMaster Professor of Social Statistics Department of Sociology McMaster University Hamilton, Ontario, Canada web: socserv.mcmaster.ca/jfox > -----Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of eshi > Sent: October-28-10 3:38 PM > To: r-help@r-project.org > Subject: [R] draw path diagram using dot > > > I did a simple path analysis and tried to draw the path diagram. I used > 'path.diagram' in sem package and produced a graph using dotty in graphviz; > however, I don't know how to produce a graph from R directly. In the sem > package manual John mentioned that "to obtain graphics output directly, the > dot program must be on the system search path". Does anyone know how to set > it up? > > Thank you very much! > -- > View this message in context: http://r.789695.n4.nabble.com/draw-path- > diagram-using-dot-tp3017987p3017987.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.