On Tue, 24 Feb 2004, Martin Maechler wrote:
>
> or (slightly nicer)
>
> % echo "sum(c(1,2,3)); 3*2" | R --quiet --vanilla
> > sum(c(1,2,3)); 3*2
> [1] 6
> [1] 6
> >
>
> but it still echoes the input by default
>
You can use --slave to suppress the input
[al:~] thomas% echo "print(sum(1:3))" | R --slave
[1] 6
-thomas
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html