Closed jhysum closed 10 years ago
Which example code?
I tried the code in the readme and also in the decision learning tree article. The .graph doesn't work and it doesn't write to my directory. I think it's the graphr gem's problem but was wondering if you knew about it.
Make sure you have graphviz installed on your system.. guessing, that's the problem.
If you're use homebrew: brew install graphviz
(aka, not just the gem, but the actual library also)
You should have "dot" accessible from command line.
Thanks that fixed everything. i had both graphr and graphviz gem install and still didn't know why it wasn't working but this makes a lot of sense now.
I copied and pasted the example code and i have installed graphr and graphviz but nothing happens when i run the code. I was wondering how the graph function is suppose to work. Nothing gets saved into my directory as well.