R script support. Updated csv format.