Re: [R] PHP and R

2009-01-17 Thread Henrique Dallazuanna
I think that you can call the R script by system function in php. See ?commandArgs for passes arguments. On Fri, Jan 16, 2009 at 5:50 PM, Applejus wrote: > > Hi, > > I know I've already asked this question, but I am really getting trouble > getting a PHP document execute an R function on window

[R] PHP and R

2009-01-16 Thread Applejus
Hi, I know I've already asked this question, but I am really getting trouble getting a PHP document execute an R function on windows. I would appreciate if someone could give me a simple example code where a php calls an R function and passes to it arguments, specifying also how to set up the p

Re: [R] PHP and R

2009-01-11 Thread Prof Brian Ripley
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 c

[R] PHP and R

2009-01-11 Thread Applejus
Hi, 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? 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 automaticall