open my $x, "|-", "R" or die "Can't launch R: $!"; pritn $x $your_data;
If you also need to capture STDOUT, IPC::Open2 or IPC::Open3 might what you want.
In reply to Re: launch a program and then write to the program
by moritz
in thread launch a program and then write to the program
by aardvarc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |