Greetings all,
First off sorry for the slow response after our meeting Friday, I've
been trying to run the TreEvo code I have currently on the Mac in our
lab but it seems to be running into the same hang ups that my Linux
netbook (R version 2.10) and my Linux desktop (R version 2.14) have
been running into, in that it seems to get stuck in the calculation
step (mostly in the 'successes attempts expected number of attempts'
step, but sometimes even before that when the 'Calculating initial
simulations...' is the only stage its reached). I tried varying most
of the parameters like the size of the initial simulations, the tree
years, number of particles etc... but it always seems to get hung up.
While I was working on that I went ahead and just started to go
through the DoRun code line by line to see what the object looked like
and what was passed where and when. By removing the for (try in 1:
maxTries) and while(!run.goingwell) commands at the beginning I've
been able to walk through the initial steps but when I get to the
plsResult object on line 247 of the code at:
https://github.com/danjgates/TreEvo-Code/blob/master/TreEvoExample_trial1.R
it gives me this error:
> Error in if (crossprod(a - a.old) < tol) break :
missing value where TRUE/FALSE needed
I'm not sure what's going on but I can't proceed much further without
that, is this a result of me running the code without higher level for
and while loops at the beginning?
Thanks!
-Dan