On Sun, 11 Jan 2009, Applejus wrote:
I know that using PHP command exec(...) you can call a unix command that would run an R script, but how does it work on Windows platform?
Exactly the same way.
Basically, I have an R function which takes a file and two strings as arguments and I need to call this function and pass to it the arguments automatically from PHP (when the user hits a submit button on the webpage), any ideas??
See Rscript[.exe], which I gave an example of only this morning. It is documented in 'An Introduction to R', amongst other places. -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.