Is there Java or .NET version of R? (like Jython / IronPython for the Python language)
R有Java还是.NET版本? (比如Python语言的Jython / IronPython)
I guess some R-packages which use C or Fortran may not run on Java/.NET version of R, but as long as pure R code can be run, it must be great.
我猜一些使用C或Fortran的R-package可能无法在R的Java / .NET版本上运行,但只要可以运行纯R代码,它就必须很棒。
4 个解决方案
#1
14
Renjin is a pure-JVM implementation of the R language. It's very much under development and not production ready, but making good progress.
Renjin是R语言的纯JVM实现。它正处于开发阶段,尚未准备好生产,但取得了良好的进展。
http://code.google.com/p/renjin
http://code.google.com/p/renjin
#2
15
As mentioned in the other answer, there is now a pure Java implementation of R: http://code.google.com/p/renjin. Exciting development, and looking forward to see how it evolves.
正如在另一个答案中提到的,现在有一个R的纯Java实现:http://code.google.com/p/renjin。令人兴奋的发展,并期待看到它如何演变。
Former answer below:
以下回答:
Bill is correct: there is no pure implementation of the R langauge (or the S langauge) on either the JVM or CLR, so the best that you can do is to use some kind of interface through C.
Bill是正确的:在JVM或CLR上没有R langauge(或S语言)的纯实现,所以你能做的最好就是通过C使用某种接口。
JRI allows you to call R from any Java program, so any language on the JVM should be able to call the JRI jars. See my example of how to use this in this question: R from within Java. As an example, there is a clojure library that is currently being developed around JRI by Joel Boehland: Rincanter (read about it here).
JRI允许您从任何Java程序调用R,因此JVM上的任何语言都应该能够调用JRI jar。请参阅我在这个问题中如何使用它的示例:来自Java中的R.例如,Joel Boehland正在开发一个围绕JRI开发的clojure库:Rincanter(在此处阅读)。
#3
5
If you needs stats on the pure JVM, you might try Incanter (www.incanter.org). It's an R-like library for Clojure, which brings lispy functional programming to the JVM. It looks like a really cool start-up with some potential. They have a pretty active user community already on their google group.
如果您需要纯JVM上的统计信息,可以尝试Incanter(www.incanter.org)。它是Clojure的类似R的库,它为LVM带来了lispy函数式编程。它看起来像一个非常酷的初创企业,具有一定的潜力。他们的Google群组中已经有一个非常活跃的用户社区。
#4
1
There are 2 that I know of.
我知道有2个。
http://www.renjin.org/ - Renjin
http://www.renjin.org/ - 人人
https://github.com/bedatadriven/renjin - Renjin
https://github.com/bedatadriven/renjin - Renjin
and...
和...
https://github.com/allr/purdue-fastr - FastR
https://github.com/allr/purdue-fastr - FastR
https://bitbucket.org/allr/fastr - FastR
https://bitbucket.org/allr/fastr - FastR
#1
14
Renjin is a pure-JVM implementation of the R language. It's very much under development and not production ready, but making good progress.
Renjin是R语言的纯JVM实现。它正处于开发阶段,尚未准备好生产,但取得了良好的进展。
http://code.google.com/p/renjin
http://code.google.com/p/renjin
#2
15
As mentioned in the other answer, there is now a pure Java implementation of R: http://code.google.com/p/renjin. Exciting development, and looking forward to see how it evolves.
正如在另一个答案中提到的,现在有一个R的纯Java实现:http://code.google.com/p/renjin。令人兴奋的发展,并期待看到它如何演变。
Former answer below:
以下回答:
Bill is correct: there is no pure implementation of the R langauge (or the S langauge) on either the JVM or CLR, so the best that you can do is to use some kind of interface through C.
Bill是正确的:在JVM或CLR上没有R langauge(或S语言)的纯实现,所以你能做的最好就是通过C使用某种接口。
JRI allows you to call R from any Java program, so any language on the JVM should be able to call the JRI jars. See my example of how to use this in this question: R from within Java. As an example, there is a clojure library that is currently being developed around JRI by Joel Boehland: Rincanter (read about it here).
JRI允许您从任何Java程序调用R,因此JVM上的任何语言都应该能够调用JRI jar。请参阅我在这个问题中如何使用它的示例:来自Java中的R.例如,Joel Boehland正在开发一个围绕JRI开发的clojure库:Rincanter(在此处阅读)。
#3
5
If you needs stats on the pure JVM, you might try Incanter (www.incanter.org). It's an R-like library for Clojure, which brings lispy functional programming to the JVM. It looks like a really cool start-up with some potential. They have a pretty active user community already on their google group.
如果您需要纯JVM上的统计信息,可以尝试Incanter(www.incanter.org)。它是Clojure的类似R的库,它为LVM带来了lispy函数式编程。它看起来像一个非常酷的初创企业,具有一定的潜力。他们的Google群组中已经有一个非常活跃的用户社区。
#4
1
There are 2 that I know of.
我知道有2个。
http://www.renjin.org/ - Renjin
http://www.renjin.org/ - 人人
https://github.com/bedatadriven/renjin - Renjin
https://github.com/bedatadriven/renjin - Renjin
and...
和...
https://github.com/allr/purdue-fastr - FastR
https://github.com/allr/purdue-fastr - FastR
https://bitbucket.org/allr/fastr - FastR
https://bitbucket.org/allr/fastr - FastR