On Tue, Feb 17, 2009 at 6:59 PM, Esmail Bonakdarian <esmail...@gmail.com> wrote: > Well, I have a program written in R which already takes quite a while > to run. I was > just wondering if I were to rewrite most of the logic in Python - the > main thing I use > in R are its regression facilities - if it would speed things up. I > suspect not since > both of them are interpreted, and the bulk of the time is taken up by > R's regression > calls.
See ?Rprof for profiling your R code. If lm is the culprit, rewriting your lm calls using lm.fit might help. ______________________________________________ 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.