-## read.nexus.R (2011-03-26)
+## read.nexus.R (2012-02-09)
## Read Tree File in Nexus Format
-## Copyright 2003-2011 Emmanuel Paradis and 2010 Klaus Schliep
+## Copyright 2003-2012 Emmanuel Paradis and 2010 Klaus Schliep
## This file is part of the R-package `ape'.
## See the file ../COPYING for licensing issues.
class(trees) <- "multiPhylo"
if (!all(nms.trees == "")) names(trees) <- nms.trees
}
- if (length(grep("[\\/]", file)) == 1)
- if (!file.exists(file)) # suggestion by Francois Michonneau
- file <- paste(getwd(), file, sep = "/")
- attr(trees, "origin") <- file
trees
}