Entering edit mode
2.4 years ago
Amr
▴
180
Problem while uploading DESeq2 library:
library(DESeq2) Loading required package: GenomicRanges Loading required package: GenomeInfoDb Error: package or namespace load failed for ‘GenomeInfoDb’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘GenomeInfoDbData’ Error: package ‘GenomeInfoDb’ could not be loaded
Please help Thanks in advance
try installing that package. Then try loading package ‘GenomeInfoDb’
I tried to install GenomeInfoDbData by this below command:
I got that message although I cant find that directory C:\Users\Amr\AppData\Local\Temp\RtmpWiEsQe\downloaded_packages:
Error in setwd(exdir) : cannot change working directory Warning in install.packages(...) : installation of package ‘GenomeInfoDbData’ had non-zero exit status
The downloaded source packages are in ‘C:\Users\Amr\AppData\Local\Temp\RtmpWiEsQe\downloaded_packages’ Installation paths not writeable, unable to update packages path: C:/Program Files/R/R-4.2.1/library packages: nlme Old packages: 'IRanges', 'S4Vectors' Update all/some/none? [a/s/n]:
Have your tried to close and reload your R session ? After you can try to reinstall
Solved !! by run Rstudio as adminstrator and the packages are installed smoothly.
That is a problem. Every time you install a package, you will have to run Rstudio as admin. Try configuring user directory for library installation.