problem loading library in R
3
0
Entering edit mode
8.7 years ago
786 ▴ 50

I'm installing this package hu6800.db from Bioconductor packages and as a result i get this...

Warning messages:
1: running command '"C:/Program Files/R/R-32~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\\Documents\R\win-library\3.2" C:\Users\~1\AppData\Local\Temp\RtmpYviEP2/downloaded_packages/org.Hs.eg.db_3.2.3.tar.gz' had status 1 
2: In install.packages(pkgs = doing, lib = lib, ...) :
  installation of package ‘org.Hs.eg.db’ had non-zero exit status
3: running command '"C:/Program Files/R/R-32~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\\Documents\R\win-library\3.2" C:\Users\~1\AppData\Local\Temp\RtmpYviEP2/downloaded_packages/hu6800.db_3.2.2.tar.gz' had status 1 
4: In install.packages(pkgs = doing, lib = lib, ...) :
  **installation of package ‘hu6800.db’ had non-zero exit status**

What does mean by the 4th point?I just don't understand. Does it mean that this package isn't installed if yes then please let me know why and what is the error?? And when i load library i get this...

**Error in library(hu6800.db) : there is no package called ‘hu6800.db’**

what is it?? Please help me out from this situation....

R bioconductor BioCLite genechip • 3.9k views
ADD COMMENT
1
Entering edit mode

Format your question better, add a quote chunk to the code that's outputted. Also, include the results of

sessionInfo()

ADD REPLY
0
Entering edit mode

I really don't understand what did u said please explain it.

ADD REPLY
0
Entering edit mode

Type sessionInfo() in your R terminal and provide us with the result of that command.

ADD REPLY
0
Entering edit mode

Please post the commands that you used to try and install these packages - stressing the point where you used 'biocLite'.

ADD REPLY
0
Entering edit mode

source("https://bioconductor.org/biocLite.R")

biocLite()

to install the additional one

biocLite("hu6800.db")

biocLite("hu6800cdf")

ADD REPLY
0
Entering edit mode

try biocLite('org.Hs.eg.db') and when it doesn't work, please post some detailed error messages

ADD REPLY
0
Entering edit mode

okay and thank u so much

ADD REPLY
0
Entering edit mode

And what was the output of these commands?

ADD REPLY
0
Entering edit mode

The problem still exists please help me out when I used **

biocLite('org.Hs.eg.db')

** The results are:

BioC_mirror: https://bioconductor.org Using Bioconductor 3.2 (BiocInstaller 1.20.1), R 3.2.3 (2015-12-10). Installing package(s) ‘org.Hs.eg.db’ installing the source package ‘org.Hs.eg.db’

trying URL 'https://bioconductor.org/packages/3.2/data/annotation/src/contrib/org.Hs.eg.db_3.2.3.tar.gz' Content type 'application/x-gzip' length 68856557 bytes (65.7 MB) downloaded 65.7 MB

'C:\Program' is not recognized as an internal or external command, operable program or batch file.

The downloaded source packages are in ‘C:\Users\Nada Mushtaq\AppData\Local\Temp\RtmpSEVNBm\downloaded_packages’ Warning messages: 1: running command '"C:/Program Files/R/R-32~1.3/bin/i386/R" CMD INSTALL -l "C:\Users\Nada Mushtaq\Documents\R\win-library\3.2" C:\Users\NADAMU~1\AppData\Local\Temp\RtmpSEVNBm/downloaded_packages/org.Hs.eg.db_3.2.3.tar.gz' had status 1 2: In install.packages(pkgs = doing, lib = lib, ...) :
installation of package ‘org.Hs.eg.db’ had non-zero exit status

It shows that the package is still not installed now what should I do???

ADD REPLY
0
Entering edit mode

Have you googled the error message: 'C:\Program' is not recognized as an internal or external command, operable program or batch file.

Could you find the value of R_HOME in your enviroment variables, and, if so check if the path is in quotes or not?

ADD REPLY
1
Entering edit mode
8.7 years ago
mastal511 ★ 2.1k

Non-zero exit status means the package was not succesfully installed.

ADD COMMENT
0
Entering edit mode

to install it successfully what should i do and why it wasn't installed properly??Can u please mention the reasons it'll be very helpful fr me

ADD REPLY
0
Entering edit mode
8.7 years ago

I tested and installation was successful here. Could you elaborate on which version of R and bioconductor you use? If outdated, you might want to try to first update those. I think your R is outdated, since org.Hs.eg.db requires 2.7.0 or higher.

ADD COMMENT
1
Entering edit mode

From the trail, you can assume R-3.2.3

ADD REPLY
0
Entering edit mode
8.7 years ago

Try to delete all the packages (org.Hs.eg.db, hu6800.db if exists), that you want to install in the library folder of your R installation Example location of library folder: C:\Program Files\R\R-3.2.3\library

Restart R and try to install all again !!

ADD COMMENT
0
Entering edit mode

It may be a little too late but thought of adding a comment for the use of others who may run in to the same issue.

I ran into the same problem and person in-charge of the uni server asked me to run "stringi" in R and it solved my issues with installing packages in R.

code: install.packages("stringi")

Thanks! D

ADD REPLY

Login before adding your answer.

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