create example data and run the whole program

Now the whole program runs with example data;
R plotting largely works;
updated dependencies of the R script