r
What is a .r file?
text/x-r
R (.r / .R) source files contain scripts for the R statistical computing language, including data frames and tidy pipelines.
How to use a .r file
Use example .r files to test R language servers, highlighters, and script runners against small deterministic samples.