I\'m relatively new to R and very new to the Linux (Ubuntu) command line. I\'m trying to write a page in PHP that contains a command I would like to execute in R and then pa
Couple of points:
You want --slave as the option, it implies --no-save and turns the greeting off; see the manual for more.
What you really want is Jeff Horner's excellent R-inside-Apache, see here for more. It can use templating frameworks like brew as well. Best of all, Jeff now provides a .deb package for you: use deb http://ppa.launchpad.net/jeffreyhorner/rapache/ubuntu lucid main in /etc/apt/sources.list.
If you insist on piping from php, consider the littler scripting frontend Jeff and I wrote. It will start faster than R.