Re: [R] executing rscript from VB

2009-09-11 Thread bartjoosen
Maybe I'm missing something, but how about using the shell function? Bart Duncan Murdoch-2 wrote: > > On 9/10/2009 9:25 AM, H Rao wrote: >> Hi, >> I am looking to execute an R script from VB as below. >> The script runs fine but the redirection doesnt seem to happen. The >> redirection opera

Re: [R] executing rscript from VB

2009-09-10 Thread Duncan Murdoch
On 9/10/2009 9:25 AM, H Rao wrote: Hi, I am looking to execute an R script from VB as below. The script runs fine but the redirection doesnt seem to happen. The redirection operator and the out file seem to be treated as arguments to the R script. Is there a way to get the > operator working T

[R] executing rscript from VB

2009-09-10 Thread H Rao
Hi, I am looking to execute an R script from VB as below. The script runs fine but the redirection doesnt seem to happen. The redirection operator and the out file seem to be treated as arguments to the R script. Is there a way to get the > operator working thanks, R System.Diagnostics.Process p