<p>I can't comment yet but from what you said it seems that you need to install additional libraries like the one you mentioned: "curl".</p>

<p>from the R terminal you should type:</p>

<pre><code>install.packages("curl")
</code></pre>

<p>then R will install the package. Not sure if there are some other dependencies. If yes R will return you some error message in which there are some package names you need to install.</p>

<p>EDIT:</p>

<p>of course, after installing all the required packages you should be able to install biocLite too.</p>

CC BY-SA 4.0
2019-11-13T09:50:16.157Z
@krushnachChandra, sorry for this very late reply, I must have lost your comment...have you solved your issue? otherwise I believe you should open another question with more details.
gbt
CC BY-SA 4.0
2019-11-13T09:56:45.193Z
well thank you for your late response , i had few other issues as well .So i reverted to the base R
kcm
CC BY-SA 4.0
2018-09-11T13:18:25.700Z
cd /opt/microsoft/ropen/3.5.1/lib64/R/library/  inside the path i can see the curl so why still i get the error i'm not sure
kcm
CC BY-SA 4.0
2018-09-11T13:24:45.093Z
try loading the curl package from the R terminal and see if it actually works (`library(curl)`). Maybe some libraries are missing. I use linux and curl requires additional libraries that are not installed by R but are system's libraries.
gbt
CC BY-SA 4.0
2018-09-11T13:32:09.043Z
yeah i did check the system level libraries as i can see using this "locate libcurl "so still not sure why the non-zero exit
kcm
CC BY-SA 4.0
2018-09-12T07:16:09.830Z
finally after some time it did work.
kcm
CC BY-SA 4.0
2018-09-12T08:16:15.043Z
sorry for not replying! if you solved the issue just post how you did it. This will help other people having the same problems!
gbt
CC BY-SA 4.0
2018-09-12T11:24:56.663Z
earlier it was not showing any error no idea what was going on but later it showed up the dependencies  error which i installed it sort of fixed the problem ..but the way i used to update using CRAN is now no longer working with Microsoft R open here i can;t define the repository how to fix that any suggestion ?
kcm
CC BY-SA 4.0
2018-09-11T13:16:30.810Z
2018-09-11T13:16:30.810Z
gbt
<p>I'm trying to install Bioconductor packages with Microsoft R Open 3.5.0 seems to fail not sure what is the issue.</p>

<p>This is what I'm trying to do </p>

<pre><code>source("https://bioconductor.org/biocLite.R")
biocLite("BiocInstaller")
</code></pre>

<p>But I keep getting an error about "curl" had non-zero exit. 
How can I install the packages of Bioconductor?</p>

CC BY-SA 4.0
2018-09-11T12:01:34.587Z
Please [edit] your question and clarify. Your first paragraph seems to be about installing R but the last one suggests you have already installed it. Please don't ask multiple questions in a single post, [edit] and ask one, specific and clear question. Thanks!
terdon
CC BY-SA 4.0
2018-09-11T13:02:39.770Z
updated my question ..iim getting this "curl' non-zero exit which wanted to post the error but closed my terminal so lost the exact error message
kcm
CC BY-SA 4.0
2018-09-11T13:56:55.870Z
Then please run the command again and then add the error message to the your question. We can't help you solve an error if you don't show it.
terdon
<r><bioconductor>
Curl error when installing Bioconductor packages with Microsoft R Open 3.5.0
# Curl error when installing Bioconductor packages with Microsoft R Open 3.5.0

(Asked by: username_0 on 2018-09-11)

I'm trying to install Bioconductor packages with Microsoft R Open 3.5.0 seems to fail not sure what is the issue.
This is what I'm trying to do 
source("https://bioconductor.org/biocLite.R")
biocLite("BiocInstaller")

But I keep getting an error about "curl" had non-zero exit. 
How can I install the packages of Bioconductor?

**Tags:** r, bioconductor
> **Comments:**
> **username_1**: Please [edit] your question and clarify. Your first paragraph seems to be about installing R but the last one suggests you have already installed it. Please don't ask multiple questions in a single post, [edit] and ask one, specific and clear question. Thanks!  
> **username_0**: updated my question ..iim getting this "curl' non-zero exit which wanted to post the error but closed my terminal so lost the exact error message  
> **username_1**: Then please run the command again and then add the error message to the your question. We can't help you solve an error if you don't show it.  

---

## 1 answers

### Answer by username_2 on 2018-09-11. Score: 2

I can't comment yet but from what you said it seems that you need to install additional libraries like the one you mentioned: "curl".
from the R terminal you should type:
install.packages("curl")

then R will install the package. Not sure if there are some other dependencies. If yes R will return you some error message in which there are some package names you need to install.
EDIT:
of course, after installing all the required packages you should be able to install biocLite too.

> **Comments:**
> **username_0**: cd /opt/microsoft/ropen/3.5.1/lib64/R/library/  inside the path i can see the curl so why still i get the error i'm not sure  
> **username_2**: try loading the curl package from the R terminal and see if it actually works (`library(curl)`). Maybe some libraries are missing. I use linux and curl requires additional libraries that are not installed by R but are system's libraries.  
> **username_0**: yeah i did check the system level libraries as i can see using this "locate libcurl "so still not sure why the non-zero exit  
> **username_0**: finally after some time it did work.  
> **username_2**: sorry for not replying! if you solved the issue just post how you did it. This will help other people having the same problems!  
> **username_0**: earlier it was not showing any error no idea what was going on but later it showed up the dependencies  error which i installed it sort of fixed the problem ..but the way i used to update using CRAN is now no longer working with Microsoft R open here i can;t define the repository how to fix that any suggestion ?  
> **username_2**: @krushnachChandra, sorry for this very late reply, I must have lost your comment...have you solved your issue? otherwise I believe you should open another question with more details.  
> **username_0**: well thank you for your late response , i had few other issues as well .So i reverted to the base R  

---

