Create template: R from merge/doc