Questions tagged [rapache]

rApache is a project supporting web application development using the R statistical language and environment and the Apache web server

rApache is a project supporting web application development using the R statistical language and environment and the Apache web server. The current software distribution runs on UNIX/Linux and Mac OS X operating systems. Apache servers with threaded Multi-Processing Modules are now supported, but the the Apache Prefork Multi-Processing Module is still recommended (refer to the Multi-Processing Modules chapter from Apache for more about this).

The rApache software distribution provides the Apache module named mod_R that embeds the R interpreter inside the web server. It also comes bundled with libapreq, an Apache module for manipulating client request data. Together, they provide the glue to transform R into a server-side scripting environment.

Another important project that's not bundled with rApache, but plays an important role in server-side scripting, is the CRAN package brew. It implements a templating framework for report generation, and it's perfect for generating HTML on the fly. It's syntax is similar to PHP, Ruby's erb module, Java Server Pages, and Python's psp module. brew can be used stand-alone as well, so it's not part of the distribution.

Project home page : http://rapache.net/index.html

68 questions
0
votes
1 answer

RApache server downloads *.rhtml files, instead of execute it

I'm developing an R web application using RApache. I have finished all the application and it runs correctly in my local server. But I have a problem when I port it to the university's server: the .rhtml files, where are the R-scripts; are…
0
votes
1 answer

Error attempting to use rJava from a web application

I am using R version 2.15.2 on Ubuntu 11.04. JAVA_HOME variable is set to /usr/lib/jvm/jdk1.6.0_21. To be able to use load rJava from R I have to set JAVA_HOME to $JAVA_HOME/jre. However, I am unable to use rJava from an R script invoked by an R…
kostas
  • 1,959
  • 1
  • 24
  • 43
0
votes
1 answer

I want to send variables to R and then R sends image to browser

I'm working on a web application that uses R enviroment with RApache. I have used the AJAX.updater function to send a couple of variables to an R-script an then this returns to the browser a ResponseText to display. There is no problem with that but…
0
votes
3 answers

Fetch Dropdown menu list dynamically from OpenCpu server

I need to implement a drop-down menu in my HTML page which has over 2000 firm names.Embedding such a huge list in the html page will make it huge and slow to load.So wanted to know if there is an interactive mechanism in OpenCPU/RApache to fetch the…
0
votes
1 answer

making the Makefile of rApache gives me errors

Apologize in advance, I am a newbie in Linux and these stuffs. I have to install rApache 1.2.0, but when I write on the terminal: make -f ~/Makefile.am it gives me many errors, such as: make: *** No rule to make target "mod_R.h", needed by…
shoyip
  • 53
  • 3
0
votes
1 answer

How to retrieve a cookie in R Apache

How do I get the cookie's value in R-Apache? I set the cookie in my html code using brew : setCookie(name="ID",value=paste(sample(1:9999,1))) My page has a form that sends post data to my R code. How would I be able to retrieve this cookie in the R…
Nick Trileski
  • 151
  • 1
  • 2
  • 8
0
votes
2 answers

RJDBC not loading as a library in Rapache

So I need to get access to an MSSQL server in my Rapache program and when I try to load RJDBC as a library in my Rapache code I get server error. In the logs it looks like this: referer: http://10.21.8.145/ Error : .onLoad failed in…
Nick Trileski
  • 151
  • 1
  • 2
  • 8
0
votes
1 answer

How do I output more than one graph using R-Apache

Below is my R code for graphing a function using quantmod, However the limit of this is that i can output only one graph. Is there a way to have your function output more than one graph, Say by setting content to text/html and somehow rendering…
Nick Trileski
  • 151
  • 1
  • 2
  • 8
1 2 3 4
5