First version of the monitoring with R