Calling R functions from Java

 2 What is the easiest way to call 'R' functions from inside Java code. Google search indicates several different approaches, it's a bit confusing and i'm no R expert. Easy = anything that doesn't involve many other dependencies that have to downloaded or learnt, minimal coding/effort, works on Windows, and gets the job done. asked 12 Jul '11, 13:33 shiva 169●2●6 accept rate: 0% Have you tried looking at the R mailing list? http://r.789695.n4.nabble.com/ I know I've had a hard time searching for things related to R on Google because of its one character name. Don't even get me started on searching for tickets to see the band !!! (12 Jul '11, 17:48) Luis de la T... Hi @Luis: thanks for the tip :) will look thru the list though i admit i have more of an OR background compared to stats/econ. (14 Jul '11, 19:57) shiva

 3 The easiest way I've found to get information for R is to use http://www.rseek.org which is a metasearch site for R related topics. Few methods I found. One was Omegahat's R-Java package for R. The have a good whitepaper on using it with examples. It requires a local install from a zip file. Another method is using the rJava package which should be able to be loaded from the R command line with install.packages("rJava") answered 14 Jul '11, 08:48 larrydag 1 ♦ 3.2k●6●14●26 accept rate: 9% thanks @larrydag!that was helpful indeed. will try it out soon and try to post feedback. (14 Jul '11, 19:50) shiva
 1 try rcaller. it is the easiest way of calling r from java. answered 03 Jan '12, 14:39 jbytecode 11●1 accept rate: 0%
 toggle preview community wiki

By Email:

Markdown Basics

• *italic* or _italic_
• **bold** or __bold__
• image?![alt text](/path/img.jpg "Title")
• numbered list: 1. Foo 2. Bar
• to add a line break simply add two spaces to where you would like the new line to be.
• basic HTML tags are also supported

Tags: