Create template: R from merge