Hi Charles
I encountered the same error, and just commented out the following line in the
multidivtime function:
#write(paste(" kappa = ", kappa, " * initial or fixed kappa",sep =
""), filename, append = TRUE)
That seemed to allow the function to proceed, but then I ran into further
issues and eventually gave up and used PAML itself, which has more flexibility
in setting model parameters anyway.
cheers
Marcel
www.macroevoeco.com
www.biology.anu.edu.au/Marcel_Cardillo
________________________________
From: R-sig-phylo <[email protected]> on behalf of Charles
Pouchon <[email protected]>
Sent: Thursday, 14 January 2016 11:13 PM
To: [email protected]
Subject: [R-sig-phylo] Problem on LAGOPUS package
Hi,
I'm sending this email because I want to use PAML/multidivtime approach
implemented in the R package Lagopus. I followed instructions from the manual
but I have a problem with the multidivtime() function. When I execute:
multidivtime(x,file=NULL,start=''baseml'', part=1, runs = 4, path = path,
transfer.files = T, LogLCheck = 100, plot=T)
I get the following error message:
Error in paste(« kappa = « , kappa, « * initial or fixed kappa », :
cannot coerce type 'closure' to vector of type 'character'
so I tried to resolve it by doing:
multidivtime(as.character(x),file=NULL,start=''baseml'', part=1, runs = 4, path
= path, transfer.files = T, LogLCheck = 100, plot=T)
And now I have this following message:
Error in attach(x,warn.conflicts=FALSE)
attach works only for list, dataframe or environments
Do you know what's the problem?
PS: i have downloaded the last version (1.4-7).
Thank you,
`````````````````````````````````````````````````````````
Charles Pouchon
Doctorant
Laboratoire d'Écologie Alpine (LECA)
UMR 5553 CNRS-UJF-UdS
2233 rue de la piscine - Bat D Biologie
38400 Saint Martin D-Hères
Bureau 313
[email protected]<mailto:[email protected]>
[cid:[email protected]]
`````````````````````````````````````````````````````````
_______________________________________________
R-sig-phylo mailing list - [email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/[email protected]/