Is R an interpreted or compiled programming language?

Is R an interpreted or compiled programming language?

+6
r interpreted-language compiled-language
source share
6 answers

The R FAQ says: "The R kernel is an interpreted computer language."

+15
source share
+8
source share

It is more accurate to say that the implementation of a language is interpreted or compiled by default. But not the language itself!

+5
source share

You can create a compiler or interpreter for any programming language. In general, the language itself is not compiled or interpreted.

Thus, R can be interpreted or compiled. However, in the most common implementation, R is interpreted.

+4
source share

R does not compile. There are projects that try to compile it: http://www.hipersoft.rice.edu/rcc/ , http://www.rforge.net/r2c/ , but I can’t find one currently supported.

Nevertheless, performance on modern equipment seems reasonable for the even greater workloads that I have chosen for it (millions of records).

+2
source share

R is definitely written in C. I asked myself this question a long time ago and resolved it by downloading the source code from http://www.r-project.org/ .

-one
source share

All Articles