Hi, I'm planning to embed R into an application, with the following context: - This application is written in Java (and managed with maven). I plan accessing R using JRI. - This application must be installable on several plateform (linux, mac os, windows). - The R engine must embed library, some of them having native code in C or Fortran. Does this sound reasonable? I would be very grateful to everyone providing links, references, feedback or advice on this question. Best regards, Sylvain -- Sylvain Loiseau sloiseau at ens-lsh.fr
On Jan 20, 2009, at 10:37 , Sylvain Loiseau wrote:> Hi, > > I'm planning to embed R into an application, with the following > context: > > - This application is written in Java (and managed with maven). I > plan accessing R using JRI. > - This application must be installable on several plateform (linux, > mac os, windows). > - The R engine must embed library, some of them having native code > in C or Fortran. > > Does this sound reasonable?Yes. Since you mentioned JRI - it gives you all of the above for free (there are CRAN binaries for Windows and OS X; it installs on unix system with Java; you can link arbitrary libraries from R - that's how R works). Good pointers are JavaGD (for graphics so you can embed it in your Java look and feel) and JGR since it does all this already. Cheers, S> I would be very grateful to everyone providing links, references, > feedback or advice on this question. > > Best regards, > Sylvain > > -- > Sylvain Loiseau > sloiseau at ens-lsh.fr > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > >
Hi, You may find the biocep-R project very useful, it embeds R into Java using JRI. And it goes much further than that, providing an impressive framework from which you can start with a lot of work already done. It's open source, so you can also just have a look at the code for inspiration: http://biocep-distrib.r-forge.r-project.org/ It hasn't been released yet (no documentation) but it's really worth exploring. Best, Enrique -----Original Message----- From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-project.org] On Behalf Of r-devel-request at r-project.org Sent: mi?rcoles, 21 de enero de 2009 12:00 To: r-devel at r-project.org Subject: R-devel Digest, Vol 71, Issue 19 Message: 8 Date: Tue, 20 Jan 2009 16:37:11 +0100 From: "Sylvain Loiseau" <sloiseau at ens-lsh.fr> Subject: [Rd] Embeding R To: r-devel at r-project.org Message-ID: <op.un2az91i67e68g at l017892.intranet.ens-lsh.fr> Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 Hi, I'm planning to embed R into an application, with the following context: - This application is written in Java (and managed with maven). I plan accessing R using JRI. - This application must be installable on several plateform (linux, mac os, windows). - The R engine must embed library, some of them having native code in C or Fortran. Does this sound reasonable? I would be very grateful to everyone providing links, references, feedback or advice on this question. Best regards, Sylvain -- Sylvain Loiseau sloiseau at ens-lsh.fr