Create template: R from identifier/doc