R是一种解释或编译的编程语言吗?

时间:2021-02-22 20:43:22

Is R an interpreted or compiled programming language?

R是一种解释或编译的编程语言吗?

6 个解决方案

#1


15  

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

R FAQ说:“R的核心是解释性计算机语言”。

#2


8  

R is an interpreted language.

R是一种解释性语言。

#3


6  

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

更准确地说,某些语言的默认实现被解释或编译。但不是语言本身!

#4


4  

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

您可以为任何编程语言构建编译器或解释器。通常,语言本身不会被编译或解释。

So, R could be either interpreted or compiled. Nonetheless, in the most common implementation, R is interpreted.

因此,R可以被解释或编译。尽管如此,在最常见的实现中,R被解释。

#5


2  

R doesn't compile. There are projects that try to get it compiled: http://www.hipersoft.rice.edu/rcc/ , http://www.rforge.net/r2c/ but I can't find any currently supported.

R不编译。有些项目试图将其编译:http://www.hipersoft.rice.edu/rcc/,http://www.rforge.net/r2c/但我找不到任何目前支持的项目。

That said, the performance on modern hardware seems reasonable for even larger workloads I have thrown at it (millions of records).

也就是说,现代硬件的性能对于我所投入的更大的工作量(数百万条记录)似乎是合理的。

#6


-1  

R is definitely written in C. I asked myself this question alittle while ago, and resolved it by downloaded the source code from http://www.r-project.org/.

R绝对是用C语写的。我在前一段时间问自己这个问题,并通过从http://www.r-project.org/下载源代码解决了这个问题。

#1


15  

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

R FAQ说:“R的核心是解释性计算机语言”。

#2


8  

R is an interpreted language.

R是一种解释性语言。

#3


6  

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

更准确地说,某些语言的默认实现被解释或编译。但不是语言本身!

#4


4  

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

您可以为任何编程语言构建编译器或解释器。通常,语言本身不会被编译或解释。

So, R could be either interpreted or compiled. Nonetheless, in the most common implementation, R is interpreted.

因此,R可以被解释或编译。尽管如此,在最常见的实现中,R被解释。

#5


2  

R doesn't compile. There are projects that try to get it compiled: http://www.hipersoft.rice.edu/rcc/ , http://www.rforge.net/r2c/ but I can't find any currently supported.

R不编译。有些项目试图将其编译:http://www.hipersoft.rice.edu/rcc/,http://www.rforge.net/r2c/但我找不到任何目前支持的项目。

That said, the performance on modern hardware seems reasonable for even larger workloads I have thrown at it (millions of records).

也就是说,现代硬件的性能对于我所投入的更大的工作量(数百万条记录)似乎是合理的。

#6


-1  

R is definitely written in C. I asked myself this question alittle while ago, and resolved it by downloaded the source code from http://www.r-project.org/.

R绝对是用C语写的。我在前一段时间问自己这个问题,并通过从http://www.r-project.org/下载源代码解决了这个问题。