Re: [R] matrix of size 30^5

2013-04-23 Thread Benjamin Caldwell
Thanks all for your helpful suggestions. I replaced the hard drive of this computer and augmented the RAM to 8 GB over the weekend, and things seen to be running very smoothly now. I'll certainly use the methods provided here as I push the limits on these types of matrices and objects. Best *Ben C

Re: [R] matrix of size 30^5

2013-04-21 Thread Charles Berry
Benjamin Caldwell berkeley.edu> writes: > > Dear R helpers > > Reproducible example: > > #warning - this causes a hard freeze on the machines I've tried it on > matrix.holder<- matrix(rnorm(150), nrow=30, ncol=5) > > Out= > expand.grid(matrix.holder[,1],matrix.holder[,2],matrix.holder[,3], ma

Re: [R] matrix of size 30^5

2013-04-20 Thread David Winsemius
On Apr 20, 2013, at 2:19 PM, Benjamin Caldwell wrote: > Dear R helpers > > Reproducible example: > > #warning - this causes a hard freeze on the machines I've tried it on > matrix.holder<- matrix(rnorm(150), nrow=30, ncol=5) > > Out= > expand.grid(matrix.holder[,1],matrix.holder[,2],matrix.hol

[R] matrix of size 30^5

2013-04-20 Thread Benjamin Caldwell
Dear R helpers Reproducible example: #warning - this causes a hard freeze on the machines I've tried it on matrix.holder<- matrix(rnorm(150), nrow=30, ncol=5) Out= expand.grid(matrix.holder[,1],matrix.holder[,2],matrix.holder[,3],matrix.holder[,4], matrix.holder[,5]) Problem: I'm running an an