various Rscripts, not always reproducible examples and poorly documented