[Battlemesh] graph generation

Matthieu Boutier boutier at pps.univ-paris-diderot.fr
Mon Aug 10 22:49:27 CEST 2015


> BTW, you forgot a little detail, that is, to run the graph generation tool we need to install the R programming language! :-)

Yep! ;-)

But I provide the way to launch a R script in the shell, which is not very intuitive!!  And at least I don't use packages or external libraries in my scripts, so it should work without difficulties.

> Is there a way to generate PNG or SVG?

Yes, there are hidden extra-options.  Use: --out-type <type>.  I'm sure it works with "png".  For the other types, you have to check!  An example:

    R --vanilla --slave --args --out-type png results/ < generic.R

(svg is not supported on Mac OS, I didn't check for Linux — why not using pdf?)

Matthieu




More information about the Battlemesh mailing list