[adegenet-forum] problems loading adegenet with R 2.13.0

Jombart, Thibaut t.jombart at imperial.ac.uk
Mon May 16 13:53:04 CEST 2011


 Dear all, 

A problem may occur on some platforms when loading adegenet (i.e. "library(adegenet)") in the latest R version (2.13.0). Apparently, this is due to packages that have been removed from CRAN and on which adegenet depends. More specifically:

- graph package: CRAN's version was outdated, and adegenet anyway uses Bioconductor's version. To fix the issue, install the Bioconductor package using:
####
source("http://bioconductor.org/biocLite.R")
biocLite("graph")
####   

- hierfstat package: the package's been removed for maintaining issues; apparently a new version will be submitted eventually, but for the time being I disabled the functions fstat and gstat.randtest, which were wrappers for functions from hierfstat. The function pairwise.fst is purely adegenet and therefore not affected. If 'graph' is installed and you still can't load adegenet, hierfstat may be the problem. Install the devel version of adegenet from R-Forge (install from the zip for windows):
https://r-forge.r-project.org/R/?group_id=120

The next release of adegenet will fix these issues, and should be out towards mid-June. 

All the best

Thibaut


More information about the adegenet-forum mailing list