Skip to content
Back to formatted view

Raw Message

Message-ID: <49F80684.8080906@idi.ntnu.no>
Date: 2009-04-29T07:49:24Z
From: Wacek Kusnierczyk
Subject: Newbie R question  PART2
In-Reply-To: <49F8059B.9030905@idi.ntnu.no>

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