Re: [R] increasing speed for permutations of glm

2008-01-25 Thread jim holtman
Use Rprof on your code to see where time is being spend and then focus on those areas for improvement. On Jan 25, 2008 2:21 AM, Juliet Hannah <[EMAIL PROTECTED]> wrote: > Dear R Programmers, > I am trying to run a Poisson regression on all pairs of variables in a data > set and > obtain the permut

[R] increasing speed for permutations of glm

2008-01-24 Thread Juliet Hannah
Dear R Programmers, I am trying to run a Poisson regression on all pairs of variables in a data set and obtain the permutation distribution. The number of pairs is around 10. It seems my code will take weeks to run, unless I try something else. Could you give me any suggestions on how to improv