Skip to content
Prev 41413 / 63421 Next

Question about Rweb

Ted,
On Oct 5, 2011, at 4:00 PM, Ted Byers wrote:

            
The setup is really easy (it supports either CGI or PHP), but you're on the wrong platform :P see below.
Well, technically, you can run it on Windows, but I would not recommend it. Windows is a really bad server platform, especially with R (no fork, no parallel connections, no unix sockets ...).

The standard configuration in FastRWeb assumes a unix server (the more common case) and it really consists of install.packages() and then copying Rcgi from the cgi-bin directory of the installed FastRWeb package to your web server's cgi-bin and starting Rserve (via /var/FastRWeb/code/start). Alternatively, you can use the PHP client from Rserve instead of CGI.

If you really want to use Windows, I have fixed the Windows build so it should work, but you'll have to configure it by hand -- but as I said, I strongly discourage the use of Windows for any R-related server activities - there are too many security implications and it's far less efficient.

Cheers,
Simon