Re: [R-sig-phylo] Fwd: atomic vector for write.nexus

2015-01-01 Thread Liam J. Revell
Hi Luigi. Unfortunately, I think you may need to supply us with some more details to try and figure out what your problem is. Does your code look like: D-dist.dna(obj) ## obj is class DNAbin, e.g.: ## data(woodmouse) ## obj-woodmouse tree-upgma(D) plot(tree) ## works

Re: [R-sig-phylo] Fwd: atomic vector for write.nexus

2013-06-28 Thread Peter Adler
Bingo, problem solved, thank you Liam! On 6/27/2013 5:51 PM, Liam J. Revell wrote: I'm guessing this is because you need to specify the argument file by name and are not doing so - i.e.: write.nexus(tree,file=filename) This is because the first argument in write.nexus, unlike write.tree, is

[R-sig-phylo] Fwd: atomic vector for write.nexus

2013-06-27 Thread Peter Adler
Elaine, Did you ever solve this problem? I have run into the same error in the same context (trying to write.nexus() after pruning a tree). -Peter -- Peter Adler Dept. Wildland Resources and the Ecology Center Utah State University http://www.cnr.usu.edu/htm/facstaff/adler-web

Re: [R-sig-phylo] Fwd: atomic vector for write.nexus

2013-06-27 Thread Liam J. Revell
I'm guessing this is because you need to specify the argument file by name and are not doing so - i.e.: write.nexus(tree,file=filename) This is because the first argument in write.nexus, unlike write.tree, is the ... three-dot argument so subsequent arguments need to be indicated by name

[R-sig-phylo] Fwd: atomic vector for write.nexus

2013-04-05 Thread Elaine Kuo
I changed pruned.tree to tree.pruned. The error still existed. Elaine -- Forwarded message -- From: Elaine Kuo elaine.kuo...@gmail.com Date: Fri, Apr 5, 2013 at 6:12 PM Subject: atomic vector for write.nexus To: r-sig-phylo@r-project.org Hello, This is Elaine. I am using the