Youtube video on using RCaller R package to call R from within Java application
This seems to work o from within a Linux virtual machine:
http://www.mhsatman.com/rcaller.php
http://stdioe.blogspot.ca/2011/07/rcaller-20-calling-r-from-java.html
Ensure to use RCaller 2..7 JAR for the above example to work.
http://stdioe.blogspot.ca/2011/07/rcaller-20-calling-r-from-java.html
[youtube_sc url=”http://www.youtube.com/watch?v=fHt0cq-6BvM” playlist=”r java”]