[R] Is there any performance difference between subset() and list comprehension?

Stefan Grosse singularitaet at gmx.net
Sat Sep 26 10:56:08 CEST 2009


On Sat, 26 Sep 2009 15:26:12 +0900 You Hyun Jo <youhyunjo at gmail.com>
wrote:

YHJ> Is there any (performance) difference (except the difference of
YHJ> the return types)
YHJ> between the following two computations?

Try it yourself. 
?system.time
is useful for that purpose.

Stefan




More information about the R-help mailing list