Displaying 1 result from an estimated 1 matches for "aloop1".
Did you mean:
loop1
2011 Jun 26
2
Why is looping in R inefficient, but in C not?
Hey,
I just read another post about calling R from C. Someone on
stackoverflow (DWin makes me suspect its David W.?) referenced this:
http://www.math.univ-montp2.fr/~pudlo/R_files/call_R.pdf
Which made me think: Why is a loop in R bad, but in C not?
And where exactly does looping cost the most? I wrote a piece of code
for my bachelor's thesis where I loop from 1 to 500, and estimate a