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

That's a VB question.  You should ask Microsoft.

Duncan Murdoch


thanks, R

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "E:/R/bin/Rscript.exe";
proc.StartInfo.Arguments = "E:/R/bin/test.r > test.out";
proc.StartInfo.UseShellExecute = true;
proc.Start();

______________________________________________
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.

______________________________________________
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.

Reply via email to