Create template: R for convenience