[Rd] Java->R functions (or possibly C++ -> R)

From: esmail bonakdarian <ebonak_at_hotmail.com>
Date: Sun, 20 Apr 2008 09:22:23 -0400


Hello all,

I am trying to implement a simple Genetic Algorithm using some of the functions of R (such as lm). I am a total newbie with regard to R, but not programming or GAs.

I thought I would have to do this in R but now it seems there are ways to call R functions from Java after all. (C++ would work for me too, having a compiled language should speed up the program.)

Are there recommended approaches/packages for the Java->R interfaces? Is JRI the way to go?

I would like this to work under Windows and Linux ideally, and be relatively painless to install/work :-)

I am assuming the Java->R approach might be more efficient vs implementation in the R language (which I am willing to learn if necessary) - but I lack experience with R to judge this. (ie byte-compiled vs purely interpreted)

There will probably be more elementary questions (I am reading the various manuals too .. but if anyone has some other favorite sites they want to recommend please do so)

Thanks!

Esmail

PS:Does anyone know how to do an effective search for R in google (or

   other search engines). The fact that this is a single letters seems    to have most applications ignore this input. This might help me in    finding answers to some other basic questions I have (such as is    there an equivalent function to "printf" in R? "cat" and "print"    are not quite working right for me -- but I need to dig deeper into    the documentation)

PPS: I there a USENET group dedicated to R?



Going green? See the top 12 foods to eat organic.

1N1653A

        [[alternative HTML version deleted]]



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun 20 Apr 2008 - 13:56:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 20 Apr 2008 - 20:32:04 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive