Cannot load package "hgu133a.db"
1
1
Entering edit mode
8.9 years ago
chengzhao41 ▴ 110

Hi,

I successfully installed package "hgu133a.db", but I cannot load it.

> library("hgu133a.db")
Loading required package: AnnotationDbi
Loading required package: IRanges
Loading required package: S4Vectors
Error in unloadNamespace(package) : 
  namespace 'S4Vectors' is imported by 'AnnotationDbi', 'IRanges' so cannot be unloaded
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc,  : 
  Package 'S4Vectors' version 0.8.3 cannot be unloaded

Any ideas?

hgu133a.db • 4.4k views
ADD COMMENT
0
Entering edit mode

Do:

remove.packages('S4Vectors')
biocLite('S4Vectors')

Then, try again. Be sure to include the output of sessionInfo() if you continue to have problems.

ADD REPLY
0
Entering edit mode

Hello, I am having the exact same problem as the original user albeit trying to load a different library ("zebrafish.db0")

I tried the two commands you suggested, but this didn't seem to help I am afraid.

My sessionInfo() output is the following:

R version 3.3.1 (2016-06-21)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.6 (El Capitan)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats4    parallel  stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] zebrafishcdf_2.18.0  BiocInstaller_1.24.0 affy_1.52.0          Biobase_2.34.0       BiocGenerics_0.20.0 

loaded via a namespace (and not attached):
 [1] zlibbioc_1.20.0       IRanges_2.8.1         DBI_0.5-1             tools_3.3.1           Rcpp_0.12.9          
 [6] affyio_1.44.0         AnnotationDbi_1.36.1  RSQLite_1.1-2         preprocessCore_1.36.0 S4Vectors_0.12.1
ADD REPLY
0
Entering edit mode
8.8 years ago
icebing • 0

This problem occurs when I use RStudio. Try to use the terminal instead.

ADD COMMENT

Login before adding your answer.

Traffic: 1850 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