IntelliJ Java IDE
The moose likes Other Languages and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Other Languages » Other Languages
Reply Bookmark ""R" in Action - integrated with other applications" Watch ""R" in Action - integrated with other applications" New topic
Author

"R" in Action - integrated with other applications

Fred Muhlenberg
Ranch Hand

Joined: Jan 08, 2008
Posts: 39
From your intro, R appears to run in its own shell, much like Matlab (or tk/tcl). I'm interested in applying this to a web environment.
Are there ways to access R directly from other programs, eg Java?
Or, would I need to set up a R server (alluded to in a previous post)?
Does you book address or touch upon either of these situations?

-Fred
Robert Kabacoff
author
Greenhorn

Joined: Mar 28, 2011
Posts: 25
Hi Fred,

There are quite a number of R-Web interfaces. They are described in the R FAQ. You should see solutions using CGI, Java, Javascript, and PHP. Others exist.

There are also numerous solutions for accessing R from within another language. For example, you can access R functionality from within Java using rJava or rCaller. Python users can use rpy.

I don't cover this topic in the book. The book primarily focuses on using base R and user-contributed R packages to analyze data and create graphs.
 
IntelliJ Java IDE
 
subject: "R" in Action - integrated with other applications
 
Threads others viewed
About T-Systems Pune
I/O- Ranchers Attention Please
RAD
Util
Strange problem with Runtime.exec()
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture