What is R written in?
Its runtime is implemented in C and Fortran (documented).
Relationship Graph
All directly connected languages. Click any node to navigate to its page.
Runtime Implementation
| Language | Confidence | Notes | Source |
|---|---|---|---|
| C | 90% | R runtime core in C | Source |
| Fortran | 85% | R has Fortran components for numerical routines | Source |
Influenced By
- S — R designed as open-source implementation of S
- Lisp — R's functional programming influenced by Lisp/Scheme
Frequently Asked Questions
What language is R written in?
R is primarily implemented in C and Fortran. See the implementation section above for details and source references.
What languages influenced R?
R was influenced by Lisp, S among others. See the influence section above for the full list.
Evidence Sources
- https://www.r-project.org/
- https://cran.r-project.org/doc/FAQ/R-FAQ.html
- https://en.wikipedia.org/wiki/R_(programming_language)