Additional documentation for R

Contributed docs for R