To replicate...

0. Install python (Version 2.7 recommended)
1. Install R package of ggplot2
2. On terminal, do
   $ R CMD SHLIB test.c
3. Run test.R on R


