initial commit of R examples and util