Create template: R related