Hello

Dne So 9. ledna 2016 13:11:45, Gabriela Wofkova napsal(a):
> ​Hello,
> 
> I have an problem with loading package "phytools". I have the newest
> version of R studio​ and it cannot load package "Biostrings" which is
> reqired to package "phytools". Also it not works in R program, too. Can you
> have any idea, how to evade this?
> 
> I need to use "read.newick" and load phylogenetic tree.

What exactly are You doing? phytools does not require Biostrings and 
Biostrings does not require phytools. :-)
Which operating system are You running? Which error did You get? Errors are 
keys to solutions... Do You have newest versions of the packages (I'd try to 
reinstall them first to see if they weren't corrupted)?
Both load fine for me (on Linux):

> library(phytools)
Loading required package: ape
Loading required package: maps

 # ATTENTION: maps v3.0 has an updated 'world' map.        #
 # Many country borders and names have changed since 1990. #
 # Type '?world' or 'news(package="maps")'. See README_v3. #

> library(Biostrings)
Loading required package: BiocGenerics
Loading required package: parallel

Attaching package: ‘BiocGenerics’

The following objects are masked from ‘package:parallel’:

    clusterApply, clusterApplyLB, clusterCall, clusterEvalQ, clusterExport, 
clusterMap, parApply, parCapply, parLapply, parLapplyLB,
    parRapply, parSapply, parSapplyLB

The following objects are masked from ‘package:stats’:

    IQR, mad, xtabs

The following objects are masked from ‘package:base’:

    anyDuplicated, append, as.data.frame, as.vector, cbind, colnames, do.call, 
duplicated, eval, evalq, Filter, Find, get, grep, grepl,
    intersect, is.unsorted, lapply, lengths, Map, mapply, match, mget, order, 
paste, pmax, pmax.int, pmin, pmin.int, Position, rank,
    rbind, Reduce, rownames, sapply, setdiff, sort, table, tapply, union, 
unique, unlist, unsplit

Loading required package: S4Vectors
Loading required package: stats4
Loading required package: IRanges
Loading required package: XVector

You do not need Biostrings to use read.newick.
Note there is also read.tree in ape package reading trees in Newick format.

> ​Thanks a lot for any useful answer!​
> 
> Gabriela, Charles University in Prague​

Sincerely,
Vojtěch

-- 
Vojtěch Zeisek
http://trapa.cz/en/

Department of Botany, Faculty of Science
Charles University in Prague
Benátská 2, Prague, 12801, CZ
http://botany.natur.cuni.cz/en/

Institute of Botany, Academy of Science
Zámek 1, Průhonice, 25243, CZ
http://www.ibot.cas.cz/en/

Czech Republic

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
R-sig-phylo mailing list - R-sig-phylo@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-phylo
Searchable archive at http://www.mail-archive.com/r-sig-phylo@r-project.org/

Reply via email to