Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

R is horrifically slow on loops. If you can vectorize the operation, then it will be reasonably fast. If you have to use an explicit loop, then python will be faster. My previous company had a saying that "R is fast if your write it in C". If you have many nested loops, you'll probably need to write a C extension.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: