Pack Ann: gg_lollipop/2 in b_real 1.0

For those that use R via pack(real), the new version of pack(b_real) contains gg_lollipop/2, which allows the plotting of lollipop plots/charts without writing any R code.

Examples

?- gg_lollipop([a-2,b-5,c-1,d-3], ).

?- gg_lollipop([a-2,b-5,c-1,d-3], outputs(png) ).

which produces the file at:
http://stoics.org.uk/~nicos/sware/b_real/doc/html/images/gg_lollipop.png

Quite advanced lollipop plots can be produced via Prolog, while full customisation can be had via injection of ggplot + terms.

The pack itself is a bit hit and miss, with respect to how much R one need to know, but the support for ggplot2 is now getting mature.

Static documentation:
pack_dnloads.pl

Please note that the pack has a number of dependencies from the stoics.org ecosystem:
pack(lib)
pack(mlu)
pack(mtx)
pack(real)
pack(options)
pack(debug_call)

Also needed:
R
r_lib(ggplot2)

Nicos Angelopoulos