• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

"R" in Action - integrated with other applications

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
author
Posts: 33
5
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic