Question: Cannot load package "hgu133a.db"
1
gravatar for chengzhao41
3.4 years ago by
chengzhao4190
Canada
chengzhao4190 wrote:

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 • 2.3k views
ADD COMMENTlink modified 3.4 years ago by icebing0 • written 3.4 years ago by chengzhao4190

Do:

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

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

ADD REPLYlink written 3.4 years ago by Sean Davis25k

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 REPLYlink modified 2.4 years ago • written 2.4 years ago by Thomas Bradley90
0
gravatar for icebing
3.4 years ago by
icebing0
icebing0 wrote:

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

ADD COMMENTlink written 3.4 years ago by icebing0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1663 users visited in the last hour