[R] would be nice ...

Richard A. O'Keefe ok at cs.otago.ac.nz
Wed Feb 25 04:06:07 CET 2004


Jan de Leeuw <deleeuw at stat.ucla.edu> wrote:
	if R had something like
	
	 > python -c "print(sum([1,2,3]));print(3*2)"
	6
	6
	
What's wrong with

    % echo "print(sum(c(1,2,3))); print(3*2)" | R --no-save -q
    > print(sum(c(1,2,3))); print(3*2)
    [1] 6
    [1] 6
    >




More information about the R-help mailing list