Running R on a web server

Steve Simon

2008-06-17

This page is currently being updated from the earlier version of my website. Sorry that it is not yet fully available.

I’m working on a project for planning and monitoring accrual patterns in clinical trials. This will eventually lead, I hope, to a grant to support this work. I have some existing R scripts and want to examine the possibility of running those scripts on a web page.

The R FAQ has a section on this.

There are a variety of solutions, using CGI, Java, JavaScript, and PHP. I’ll investigate these, but the one that seems to be the best fit is rwui.

A nice description of this package appears in the October 2007 issue of R News.

Another possible candidate is CGIwithR. A paper in the Journal of Statistical Software describes this system.

You can find an earlier version of this page on my original website.