[R] Newbie R question PART2

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Wed Apr 29 09:49:24 CEST 2009


Wacek Kusnierczyk wrote:
> Dieter Menne wrote:
>   
>>
>> R --vanilla
>>
>> which I like most because of the taste.
>>
>>   
>>     
>
> once we talk about preferences, here's the version which i like most
> because of (a) least typing, (b) the non-pompous little r:
>   

... and (c) superior performance (in this particular case):

>     r <<< "cat('foo\n')"
>     # foo
>   

    time (R --silent --no-save <<< "cat('foo\n')")
    # 0.296s

    time (R --quiet --no-save <<< "cat('foo\n')")
    # 0.280s

    time (R --slave <<< "cat('foo\n')")
    # 0.293s

    time (r <<< "cat('foo\n')")
    # 0.055s

vQ




More information about the R-help mailing list