open my $proc, "| R" or die "cannot open process R: $!"; autoflush $proc; print $proc "source(\"commands.R\")\n"; close $proc;