Skip to main content

Something that worked for me... Running R over the Web

There are a number of ways to run R [1] over the web. For instance one can ‘shell’ it from a Perl ASP or PHP script. The recent article “Web-Created Real Data Worksheets” [2] discusses the use of RWeb to carry out routine calculations. This implementation runs on a Windows 2000 server using R by ‘shelling’ from ASP scripts.

Another approach to Rweb’s ‘shelling’ the program is to make R memory resident and call it as required. This approach is highly suited to using R as a background library which can be called by Excel Visual Basic ASP web pages or any number of other programs. The method I’ve used turns R into a (D)COM object. This sounds quite technical but is actually quite easy. If you want to try this here’s how to go about it;

msor.2.1.c.pdf
01/02/2002
msor.2.1.c.pdf View Document
Resource type:

The materials published on this page were originally created by the Higher Education Academy.