[R] Command line and R

Angelo Secchi secchi at sssup.it
Wed Nov 9 12:10:39 CET 2005

I wrote a small R script (delta.R) using commandArgs(). The script
works from the shell in usual way

R --no-save arg1 < delta2.R

Suppose arg1 is the output of another shell command (e.g. gawk,
sed ...). Is there a way to tell R to read arg1 from the
output of the previous command? Any other workaround?

 Angelo Secchi                     PGP Key ID:EA280337

More information about the R-help mailing list