Missing comma
Added some doc lines to R script