Re: [R] runtime on ising model

2010-10-28 Thread Michael D
...@hotmail.comwrote: Date: Tue, 26 Oct 2010 12:53:14 -0400 From: mike...@gmail.com To: j...@bitwrit.com.au CC: r-help@r-project.org Subject: Re: [R] runtime on ising model I have an update on where the issue is coming from. I commented out the code

Re: [R] runtime on ising model

2010-10-28 Thread David Winsemius
at 3:24 PM, Mike Marchywka marchy...@hotmail.comwrote: Date: Tue, 26 Oct 2010 12:53:14 -0400 From: mike...@gmail.com To: j...@bitwrit.com.au CC: r-help@r-project.org Subject: Re: [R] runtime on ising model I have an update on where the issue is coming

Re: [R] runtime on ising model

2010-10-28 Thread William Dunlap
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of David Winsemius Sent: Thursday, October 28, 2010 9:20 AM To: Michael D Cc: r-help@r-project.org Subject: Re: [R] runtime on ising model On Oct 28, 2010, at 11:52 AM

Re: [R] runtime on ising model

2010-10-28 Thread David Winsemius
, 26 Oct 2010 12:53:14 -0400 From: mike...@gmail.com To: j...@bitwrit.com.au CC: r-help@r-project.org Subject: Re: [R] runtime on ising model I have an update on where the issue is coming from. I commented out the code for pos[k+1] - M[i,j] and the if statement for time = 10^4, 10^5, 10^6, 10^7

Re: [R] runtime on ising model

2010-10-28 Thread Mike Marchywka
Date: Thu, 28 Oct 2010 09:58:40 -0700 From: wdun...@tibco.com To: dwinsem...@comcast.net; mike...@gmail.com CC: r-help@r-project.org Subject: Re: [R] runtime on ising model -Original Message- From: r-help-boun...@r-project.org

[R] runtime on ising model

2010-10-26 Thread Michael D
So I'm in a stochastic simulations class and I having issues with the amount of time it takes to run the Ising model. I usually don't like to attach the code I'm running, since it will probably make me look like a fool, but I figure its the best way I can find any bits I can speed up run time.

Re: [R] runtime on ising model

2010-10-26 Thread Jim Lemon
On 10/26/2010 04:50 PM, Michael D wrote: So I'm in a stochastic simulations class and I having issues with the amount of time it takes to run the Ising model. I usually don't like to attach the code I'm running, since it will probably make me look like a fool, but I figure its the best way I

Re: [R] runtime on ising model

2010-10-26 Thread Michael D
I have an update on where the issue is coming from. I commented out the code for pos[k+1] - M[i,j] and the if statement for time = 10^4, 10^5, 10^6, 10^7 and the storage and everything ran fast(er). Next I added back in the pos statements and still runtimes were good (around 20 minutes). So I'm

Re: [R] runtime on ising model

2010-10-26 Thread Mike Marchywka
Date: Tue, 26 Oct 2010 12:53:14 -0400 From: mike...@gmail.com To: j...@bitwrit.com.au CC: r-help@r-project.org Subject: Re: [R] runtime on ising model I have an update on where the issue is coming from. I commented out the code for pos[k+1