After successful installation of package why it shows that Error?
1
1
Entering edit mode
rabiulauwul ▴ 20
@rabiulauwul-23267
Last seen 4.1 years ago

BiocManager::install("DaMiRseq")

Error: package or namespace load failed for ‘DaMiRseq’: objects ‘rowSums’, ‘colSums’, ‘rowMeans’, ‘colMeans’ are not exported by 'namespace:S4Vectors'

software error microarray • 1.2k views
ADD COMMENT
0
Entering edit mode
@martin-morgan-1513
Last seen 5 days ago
United States

Probably you have packages from a mixture of Bioconductor releases. Try

BiocManager::valid()

and take action as required.

Less likely is that you have multiple versions of packages installed. Something like

pkgs = rownames(installed.packages())
npkgs = table(pkgs)
npgks[npkgs > 1]

would indicate these, and I would suggest multiple calls to

remove.packages(pkgs)

(until the duplicates are completely removed) followed by

BiocManager::install(pkgs)

to reinstall the duplicates in a standard location.

ADD COMMENT
1
Entering edit mode

Thanks for replying. I did whatever you suggest and again after successful installation it shown error as bellow when read the library

Error: package or namespace load failed for ‘DaMiRseq’ in get(Info[i, 1], envir = env): lazy-load database 'C:/Users/Rabiul/Documents/R/win-library/3.6/rJava/R/rJava.rdb' is corrupt In addition: Warning message: In get(Info[i, 1], envir = env) : internal error -3 in R_decompress1

ADD REPLY
0
Entering edit mode

OK sounds like a different problem so that's progress!

I believe rJava went through a major revision recently. I believe you should

remove.packages("rJava")

and re-install

BiocManager::install("rJava")

I am not 100% sure whether this is correct; maybe someone else more familiar with rJava can chime in...

ADD REPLY
0
Entering edit mode

Can you restart your R session after re-installing rJava and try again?

ADD REPLY

Login before adding your answer.

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