Hello I am using R 3.2.3 on ubuntu 16.04 LTS and I can't install Gviz
I have done the following:
source("https://bioconductor.org/biocLite.R")
biocLite("Gviz")
I think the problem is with biovizBase and when I try to install that I get the following warnings and error messages
biocLite("biovizBase")
Warning: multiple methods tables found for ‘unlist’
Warning: replacing previous import by ‘S4Vectors::unlist’ when loading ‘biovizBase’
Warning: replacing previous import by ‘S4Vectors::unlist’ when loading ‘IRanges’
Error : Functions found when exporting methods from the namespace ‘IRanges’ which are not S4 generic: ‘which.max’, ‘which.min’
ERROR: lazy loading failed for package ‘biovizBase’
* removing ‘/usr/local/lib/R/site-library/biovizBase’
The downloaded source packages are in
‘/tmp/RtmpVEQwqp/downloaded_packages’
Warning message:
In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘biovizBase’ had non-zero exit status
What should I do to install Gviz and biovizBase?
Thanks Peder
These sorts of errors usually occur when trying to install packages from different versions of Bioconductor. Try
and act on it's suggestions to make your system represent a single Bioconductor version.