Hi,
In R to use other packages Biocgenerics should be updated from 0.22 to 0.23.3. But in ubuntu the last version of r-bioc-biocgenerics is 0.22. I couldnt uptade from ubuntu and R. please can you help me
Hi,
In R to use other packages Biocgenerics should be updated from 0.22 to 0.23.3. But in ubuntu the last version of r-bioc-biocgenerics is 0.22. I couldnt uptade from ubuntu and R. please can you help me
As an example when I try to install AnnatotionDbi;
> source("https://bioconductor.org/biocLite.R") Bioconductor version 3.6 (BiocInstaller 1.28.0), ?biocLite for help > biocLite("AnnotationDbi") BioC_mirror: https://bioconductor.org Using Bioconductor 3.6 (BiocInstaller 1.28.0), R 3.4.2 (2017-09-28). Installing package(s) ‘AnnotationDbi’ also installing the dependencies ‘BiocGenerics’, ‘IRanges’, ‘S4Vectors’ . . . . installing to /home/sinem/R/x86_64-pc-linux-gnu-library/3.4/S4Vectors/libs ** R ** inst ** preparing package for lazy loading Error : package ‘BiocGenerics’ 0.22.1 was found, but >= 0.23.3 is required by ‘S4Vectors’ ERROR: lazy loading failed for package ‘S4Vectors’ * removing ‘/home/sinem/R/x86_64-pc-linux-gnu-library/3.4/S4Vectors’ ERROR: dependency ‘S4Vectors’ is not available for package ‘IRanges’ * removing ‘/home/sinem/R/x86_64-pc-linux-gnu-library/3.4/IRanges’ ERROR: dependencies ‘IRanges’, ‘S4Vectors’ are not available for package ‘AnnotationDbi’ * removing ‘/home/sinem/R/x86_64-pc-linux-gnu-library/3.4/AnnotationDbi’ The downloaded source packages are in ‘/tmp/RtmpqetLrx/downloaded_packages’ installation path not writeable, unable to update packages: Rcpp, BiocGenerics Warning messages: 1: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘BiocGenerics’ had non-zero exit status 2: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘S4Vectors’ had non-zero exit status 3: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘IRanges’ had non-zero exit status 4: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘AnnotationDbi’ had non-zero exit status
When İ try to update on R
> update.packages(BiocGenerics) Error in update.packages(BiocGenerics) : 'BiocGenerics' couldnt found > update.packages(biocLite()) BioC_mirror: https://bioconductor.org Using Bioconductor 3.6 (BiocInstaller 1.28.0), R 3.4.2 (2017-09-28). Installing package(s) ‘IRanges’, ‘AnnotationDbi’ also installing the dependencies ‘BiocGenerics’, ‘S4Vectors’ . . . installing to /home/sinem/R/x86_64-pc-linux-gnu-library/3.4/S4Vectors/libs ** R ** inst ** preparing package for lazy loading Error : package ‘BiocGenerics’ 0.22.1 was found, but >= 0.23.3 is required by ‘S4Vectors’ ERROR: lazy loading failed for package ‘S4Vectors’ * removing ‘/home/sinem/R/x86_64-pc-linux-gnu-library/3.4/S4Vectors’ ERROR: dependency ‘S4Vectors’ is not available for package ‘IRanges’ * removing ‘/home/sinem/R/x86_64-pc-linux-gnu-library/3.4/IRanges’ ERROR: dependencies ‘IRanges’, ‘S4Vectors’ are not available for package ‘AnnotationDbi’ * removing ‘/home/sinem/R/x86_64-pc-linux-gnu-library/3.4/AnnotationDbi’ The downloaded source packages are in ‘/tmp/RtmpqetLrx/downloaded_packages’ installation path not writeable, unable to update packages: Rcpp, BiocGenerics Warning messages: 1: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘BiocGenerics’ had non-zero exit status 2: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘S4Vectors’ had non-zero exit status 3: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘IRanges’ had non-zero exit status 4: In install.packages(pkgs = doing, lib = lib, ...) : installation of package ‘AnnotationDbi’ had non-zero exit status > update.packages(biocVersion()) Error in list.files(lib) : hatalı 'path' argümanı > update.packages(biocUpdatePackages()) Error in unique(c(pkgs, deps)) : varsayılanı olmayan "pkgs" argümanı yok
Based on this message
```
installation path not writeable, unable to update packages: Rcpp, BiocGenerics
```
I would guess that there might be some permissions issues on the directories you are trying to write. Please check the results of `.libPaths()` and check where `BiocGenerics` is installed (`ls -l` on the results of .libPaths()). There may be more than one directory, and the directory where it is installed might not be writable (perhaps only accessible via root?)
You could also try removing the package until it says no more installs and reinstall:
```
remove.packages("BiocGenerics")
biocLite("BiocGenerics")
```
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Could you please provide more information? Include the commands you tried to use to update BiocGenerics with the output they produce as well as the results of
sessionInfo()
on ubuntu;