# NOT RUN {
<!-- %#ifdef unix -->
# }
# NOT RUN {
# First need to find where the example data sets are
path.to.example <- paste(path.package(package="PHYLOGR"),"Examples/",sep="/")
# }
# NOT RUN {
<!-- %#endif -->
# }
# NOT RUN {
# }
# NOT RUN {
<!-- %#ifdef windows -->
# }
# NOT RUN {
<!-- % path.to.example <- -->
# }
# NOT RUN {
<!-- %paste(path.package(package="phylog"),"Examples\\",sep="\\") # where the example data sets are -->
# }
# NOT RUN {
<!-- %#endif -->
# }
# NOT RUN {
example.dsc.file <- paste(path.to.example,"ifsmi.dsc",sep="")
phylog.matrix1 <- read.phylog.matrix(example.dsc.file)
# You could jump directly to the call to the function if you
# are willing to enter the path explicitly.
# For example in some Linux systems the following works
# read.phylog.matrix("/usr/lib/R/library/PHYLOGR/Examples/hb12n.dsc")
# In Windows, maybe do:
# read.phylog.matrix("c:\\progra~1\\rw1001\\library\\PHYLOGR\\Examples\\hb12n.dsc")
# }
Run the code above in your browser using DataLab