Daniel Gates
unread,May 9, 2012, 12:45:43 PM5/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to treevo-discuss
HI Barb,
That seems to have all the functions loaded. Unfortunately, as I'm
walking through the example script that you gave I'm running into this
error though:
#This is the code:
a<-doRun(
phy = phy,
traits = char,
intrinsicFn=brownianIntrinsic, #name which intrinsic model
extrinsicFn=nullExtrinsic, #name which extrinsic model
startingPriorsFns="uniform", #distribution for starting state prior
startingPriorsValues=matrix(c(min(char[,1]), max(char[,1]))), #prior
values
intrinsicPriorsFns=c("exponential"), #distribution for intrinsic
prior
intrinsicPriorsValues=matrix(c(10, 10), nrow=2, byrow=FALSE),
#intrinsic prior values
extrinsicPriorsFns=c("fixed"), #distribution for extrinsic prior
extrinsicPriorsValues=matrix(c(0, 0), nrow=2, byrow=FALSE), #fixed at
0
TreeYears=1000,
standardDevFactor=0.2,
plot=F,
StartSims=200, #number of initial simulations
epsilonProportion=0.5, #What proportion of initial particles to keep
epsilonMultiplier=0.5, #What proportion of particles to keep for
subsequent generations
nStepsPRC=5, #number of generations
maxTries=1,
numParticles=100, #how many accepted particles to keep for each
generation
debug=F,
whenToKill=20,
jobName=6,
stopRule=F,
multicore=F, #initial sims (ie StartSims) are set up to be
multithreaded if T
coreLimit=1
)
#this is the result
**** TRY 1 of 1 ****
Number of initial simulations set to 200
Using 1 core(s) for initial simulations
Error: could not find function "%dopar%"
>
Seems to be something S4 or parallelization related