Hi,

That's pretty impressive performance, but wait.
Where does this little r come from?  And how
does it differ from its big brother?

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


-----Original Message-----
From: r-help-bounces@r-project.org on behalf of Wacek Kusnierczyk
Sent: Wed 4/29/2009 12:49 AM
To: Dieter Menne
Cc: r-help@stat.math.ethz.ch
Subject: Re: [R] Newbie R question  PART2
 
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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


	[[alternative HTML version deleted]]


