R / Bioconductor loading issue
Problem:
The downloaded packages are in C:/tmp/RtmpjGYvZn/downloaded_packages
Updating HTML index of packages in '.Library'
Warning messages:
1: In install.packages(pkgs = pkgs, repos = repos, ...) : installation of package 'org.Hs.eg.db' had non-zero exit status
2: In install.packages(pkgs = pkgs, repos = repos, ...) : installation of package 'hgu133a2.db' had non-zero exit status
3: In install.packages(pkgs = pkgs, repos = repos, ...) : installation of package 'hgu133a.db' had non-zero exit status
4: In install.packages(pkgs = pkgs, repos = repos, ...) : installation of package 'hgu133b.db' had non-zero exit status
5: In install.packages(pkgs = pkgs, repos = repos, ...) : installation of package 'hgu133plus2.db' had non-zero exit status
Solution : Most likely the temporary files are preventing the loading of packages. So, remove or delete all temporary files.
1. In that case if you are using windows, first delete all the temporary files by using the command %temp% in the start up icon or in search button.
2. Then delete all temporary file (Alt+Ctrl+Delete)
3. After that try to reload in R the Bioconductor package
## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite()
4. Once the package has been loaded and updated successfully, load other packages
e.g. biocLite (“org.Hs.eg.db”).
Follow the error meassage and
> install.pacakges(" pkgs name") # replace pkgs name based on your error pkgs required
Best of luck !!!