Re: [R] interactions and stall or memory shortage

2009-09-01 Thread Ben Bolker
The short answer is that you're trying to make a categorical interaction out of continuous variables, so that the resulting factors i2 and i3 have 1050 and 7200 levels respectively. (Note to people trying to reproduce this example: you'll need library(emdbook); library(bbmle); data(Lily_sum)

[R] interactions and stall or memory shortage

2009-08-31 Thread alexander russell
Hello, After putting together interaction code that worked for a single pair of interactions, when I try to evaluate two pairs of interactions( flowers*gopher, flowers*rockiness) my computer runs out of memory, and the larger desktop I use just doesn't go anywhere after about 20 minutes. Is it

Re: [R] interactions and stall or memory shortage

2009-08-31 Thread jim holtman
Use Rprof on a small sample and determine where the time is being spent. Do some periodic gc() or memory.size() to see how fast you are using up memory. Do an object.size on all your objects to see see how be they are. This would help in the determination of the problem. On Mon, Aug 31, 2009