add R example and some more headlines

Copy and paste error. Sorry!