'namespace:Biostrings' error when installing VariantAnnotation
2
0
Entering edit mode
@thomas-damm-als-6009
Last seen 9.6 years ago
Hi all, I have a problem when installing the R-package VariantAnnotation, I get the following error message: Error : object ?get_xsbasetypes_conversion_lookup? is not exported by 'namespace:Biostrings' ERROR: lazy loading failed for package ‘GenomicFeatures’ * removing ‘/home/als/R/x86_64-unknown-linux-gnu- library/2.15/GenomicFeatures’ There have been several reports with this error message, but they all relate to development version of Bioconductor, which I’m not using. Here’s my session info: > sessionInfo() R version 2.15.1 (2012-06-22) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=da_DK.UTF-8 LC_NUMERIC=C [3] LC_TIME=da_DK.UTF-8 LC_COLLATE=da_DK.UTF-8 [5] LC_MONETARY=da_DK.UTF-8 LC_MESSAGES=da_DK.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=da_DK.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] BiocInstaller_1.8.3 loaded via a namespace (and not attached): [1] tools_2.15.1 Suggestions are greatly appriciated! All the best, Thomas Als ------------------------------------------------------ Thomas Damm Als, PhD Associate Professor Department of Biomedicine Aarhus University Building 1243 Wilhelm Meyers Allé 4 8000 Aarhus C, Denmark Direct: +45 8716 8498 email: tda@hum-gen.au.dk ------------------------------------------------------ [[alternative HTML version deleted]]
VariantAnnotation VariantAnnotation VariantAnnotation VariantAnnotation • 2.0k views
ADD COMMENT
0
Entering edit mode
@steve-lianoglou-2771
Last seen 14 months ago
United States
Hi, On Tue, Jun 25, 2013 at 5:14 AM, Thomas Damm Als <tda at="" hum-="" gen.au.dk=""> wrote: > Hi all, > > I have a problem when installing the R-package VariantAnnotation, I get the following error message: > > Error : object ?get_xsbasetypes_conversion_lookup? is not exported by 'namespace:Biostrings' > ERROR: lazy loading failed for package ?GenomicFeatures? > * removing ?/home/als/R/x86_64-unknown-linux-gnu- library/2.15/GenomicFeatures? > > There have been several reports with this error message, but they all relate to development version of Bioconductor, which I?m not using. (1) How are you trying to install the package? (2) Can you provide the output of the following commands? R> packageVersion("IRanges") R> packageVersion("Biostrings") R> packageVersion("GenomicRanges") Thanks, -steve -- Steve Lianoglou Computational Biologist Bioinformatics and Computational Biology Genentech
ADD COMMENT
0
Entering edit mode
@steve-lianoglou-2771
Last seen 14 months ago
United States
Hi Thomas, Please use "reply all" when replying to emails on the bioconductor lists so that more people can help you and also so that the back and forths can remain useful to others in general. That having been said: On Jun 25, 2013, at 6:45 AM, Thomas Damm Als <tda at="" hum-gen.au.dk=""> wrote: > Hi Steve, > > I have tried installing the package in two ways: > > source("http://bioconductor.org/biocLite.R") > biocLite("VariantAnnotation") > > library(BiocInstaller) > biocLite("VariantAnnotation") > > > Here's the output from the commands you asked me to run: >> packageVersion("IRanges") > [1] ?1.16.6? >> packageVersion("Biostrings") > [1] ?2.26.3? >> packageVersion("GenomicRanges") > [1] ?1.10.7? It looks like your version numbers are matching up with the version of R/Bioconductor that you are using, so I'm not sure what's going on. I'd recommend that you update to the latest version of R (3.0.1) and reinstall your packages via biocLite (I just installed VariantAnnotation without a problem on R-3.0.1), but that advice isn't too helpful if for some reason you need R 2.15.x HTH, -steve -- Steve Lianoglou Computational Biologist Bioinformatics and Computational Biology Genentech
ADD COMMENT
0
Entering edit mode
On 06/25/2013 04:47 PM, Steve Lianoglou wrote: > Hi Thomas, > > Please use "reply all" when replying to emails on the bioconductor lists so that more people can help you and also so that the back and forths can remain useful to others in general. > > That having been said: > > On Jun 25, 2013, at 6:45 AM, Thomas Damm Als <tda at="" hum-gen.au.dk=""> wrote: > >> Hi Steve, >> >> I have tried installing the package in two ways: >> >> source("http://bioconductor.org/biocLite.R") >> biocLite("VariantAnnotation") >> >> library(BiocInstaller) >> biocLite("VariantAnnotation") >> >> >> Here's the output from the commands you asked me to run: >>> packageVersion("IRanges") >> [1] ?1.16.6? >>> packageVersion("Biostrings") >> [1] ?2.26.3? >>> packageVersion("GenomicRanges") >> [1] ?1.10.7? > > It looks like your version numbers are matching up with the version of R/Bioconductor that you are using, so I'm not sure what's going on. > I think Steve is on the right track; it could be GenomicFeatures, or you might discover the problem with trace(loadNamespace, quote(print(package))) library(GenomicFeatures) you'll a package name printed each time a dependency is asked to be loaded. Probably the last package displayed is the one that is out of sync with your installation; compare it with the version available at http://bioconductor.org/packages/2.11/bioc/html/GenomicRanges.html with 'GenomicRanges' replaced by whatever package appears to be the problem. For what it's worth (not relevant in this immediate case), in 3.0.1 it might have been possible to ask BiocInstaller::biocValid() for some hints. Martin > I'd recommend that you update to the latest version of R (3.0.1) and reinstall your packages via biocLite (I just installed VariantAnnotation without a problem on R-3.0.1), but that advice isn't too helpful if for some reason you need R 2.15.x > > HTH, > -steve > > -- > Steve Lianoglou > Computational Biologist > Bioinformatics and Computational Biology > Genentech > > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793
ADD REPLY
0
Entering edit mode
Hi Steve & Martin, Thanks for your input - it is greatly appreciated! I wanted to use VariantAnnotation/Bioconductor on our cluster facility, and I'm a little reluctant for updating to R 3.01 on the cluster. I tried various things, and ended up with recompiling installed Bioconductor packages like this: source("http://bioconductor.org/biocLite.R") pkgs <- rownames(installed.packages()) biocLite(pkgs) After that I was able to install VariantAnnotation successfully, but when I check package versions as suggested by Steve versions differed from when I initially checked (see below): > packageVersion("IRanges") [1] ?1.14.4? > packageVersion("Biostrings") [1] ?2.24.1? > packageVersion("GenomicRanges") [1] ?1.8.13? I came across the following error when I tried "various things", and think that this may very well have been the main problem: ERROR: failed to lock directory ?/home/als/R/x86_64-unknown-linux-gnu-library/2.15? for modify Try removing ?/home/als/R/x86_64-unknown-linux-gnu-library/2.15/00LOCK-IRanges? The downloaded source packages are in ?/tmp/RtmpVmN90j/downloaded_packages? Warning messages: 1: In install.packages(pkgs = pkgs, lib = lib, repos = repos, ...) : installation of package ?IRanges? had non-zero exit status 2: installed directory not writable, cannot update packages 'akima', 'AnnotationDbi', 'BiasedUrn', 'BiocInstaller', 'bitops', 'caTools', 'cluster', 'DBI', 'doMC', 'doParallel', 'doSNOW', 'foreach', 'foreign', 'gdata', 'gtools', 'igraph', 'KernSmooth', 'labeling', 'lattice', 'locfit', 'Matrix', 'mgcv', 'nnet', 'RCurl', 'rpart', 'RSQLite', 'snow', 'survival', 'XML', 'xtable' Cheers, Thomas ------------------------------------------------------ Thomas Damm Als, PhD Associate Professor Department of Biomedicine Aarhus University Building 1243 Wilhelm Meyers All? 4 8000 Aarhus C, Denmark Direct: +45 8716 8498 email: tda at hum-gen.au.dk ------------------------------------------------------ Den 25/06/13 18.50 skrev "Martin Morgan" <mtmorgan at="" fhcrc.org="">: >On 06/25/2013 04:47 PM, Steve Lianoglou wrote: >> Hi Thomas, >> >> Please use "reply all" when replying to emails on the bioconductor >>lists so that more people can help you and also so that the back and >>forths can remain useful to others in general. >> >> That having been said: >> >> On Jun 25, 2013, at 6:45 AM, Thomas Damm Als <tda at="" hum-gen.au.dk=""> wrote: >> >>> Hi Steve, >>> >>> I have tried installing the package in two ways: >>> >>> source("http://bioconductor.org/biocLite.R") >>> biocLite("VariantAnnotation") >>> >>> library(BiocInstaller) >>> biocLite("VariantAnnotation") >>> >>> >>> Here's the output from the commands you asked me to run: >>>> packageVersion("IRanges") >>> [1] ?1.16.6? >>>> packageVersion("Biostrings") >>> [1] ?2.26.3? >>>> packageVersion("GenomicRanges") >>> [1] ?1.10.7? >> >> It looks like your version numbers are matching up with the version of >>R/Bioconductor that you are using, so I'm not sure what's going on. >> > >I think Steve is on the right track; it could be GenomicFeatures, or you >might >discover the problem with > > trace(loadNamespace, quote(print(package))) > library(GenomicFeatures) > >you'll a package name printed each time a dependency is asked to be >loaded. >Probably the last package displayed is the one that is out of sync with >your >installation; compare it with the version available at > > http://bioconductor.org/packages/2.11/bioc/html/GenomicRanges.html > >with 'GenomicRanges' replaced by whatever package appears to be the >problem. > >For what it's worth (not relevant in this immediate case), in 3.0.1 it >might >have been possible to ask > > BiocInstaller::biocValid() > >for some hints. > >Martin > >> I'd recommend that you update to the latest version of R (3.0.1) and >>reinstall your packages via biocLite (I just installed VariantAnnotation >>without a problem on R-3.0.1), but that advice isn't too helpful if for >>some reason you need R 2.15.x >> >> HTH, >> -steve >> >> -- >> Steve Lianoglou >> Computational Biologist >> Bioinformatics and Computational Biology >> Genentech >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at r-project.org >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >>http://news.gmane.org/gmane.science.biology.informatics.conductor >> > > >-- >Computational Biology / Fred Hutchinson Cancer Research Center >1100 Fairview Ave. N. >PO Box 19024 Seattle, WA 98109 > >Location: Arnold Building M1 B861 >Phone: (206) 667-2793
ADD REPLY

Login before adding your answer.

Traffic: 926 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6