Jan de Leeuw <[EMAIL PROTECTED]> 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
    >

______________________________________________
[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

Reply via email to