[R] loops and simulation

Daniel Malter daniel at umd.edu
Thu Jul 21 07:04:05 CEST 2011


I haven't ever tried it myself, but online sources suggest that Matlab possibly gains speed by internally avoiding loops rather than looping faster. What would stand at the end if this were true, however, is improved end user speed.

From: David Winsemius [dwinsemius at comcast.net]
Sent: Wednesday, July 20, 2011 9:01 AM
To: Daniel Malter
Cc: r-help at r-project.org
Subject: Re: [R] loops and simulation

On Jul 20, 2011, at 1:34 AM, Daniel Malter wrote:

> requests, except that you were referring to SAS and had heard that R
> "does
> not like loops." (This is factually wrong. But R can be slow looping).

Where did you hear this? Can you cites any references?


David Winsemius, MD
West Hartford, CT

More information about the R-help mailing list