experiments with R + rCharts + metrics.js