# Qiime2R-Not compatible with R version 3.1 or 3.5

**URL:** https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397
**Category:** Other Bioinformatics Tools
**Created:** [August 3, 2018, 6:30am UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397 "2018-08-03T06:30:44Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![Fabs](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fabs](https://forum.qiime2.org/u/Fabs)
#### Post date: [August 3, 2018, 6:30am UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/1 "2018-08-03T06:30:44Z")

</div>

Hello,

I have a quick question regarding qiime2r. I tried to install it on R 3.1 and it said that it is not available for that version, hence, I updated R, but I still get the same message.

**_install.packages("QIIME2R")_**  
**_Warning in install.packages :_**  
**\_ package ‘QIIME2R’ is not available (for R version 3.5.1\_**)

Do you have any suggestion of what I can do? If not, I could just work by exporting all data as a .tsv file, correct?

---

<div class="post-metadata">

### Author: ![Mehrbod\_Estaki](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrbod_estaki/32/4001_2.png) [@Mehrbod\_Estaki](https://forum.qiime2.org/u/Mehrbod_Estaki)
#### Post date: [August 3, 2018, 7:32am UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/2 "2018-08-03T07:32:59Z")

</div>

Hi @Fabs,

I'm pinging @jbisanz, the creator of that plugin for his feedback.

---

<div class="post-metadata">

### Author: ![Fabs](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fabs](https://forum.qiime2.org/u/Fabs)
#### Post date: [August 3, 2018, 8:10am UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/3 "2018-08-03T08:10:04Z")

</div>

Thank you, I will wait for his response.

---

<div class="post-metadata">

### Author: ![jbisanz](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jbisanz/32/1720_2.png) [@jbisanz](https://forum.qiime2.org/u/jbisanz)
#### Post date: [August 3, 2018, 2:41pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/4 "2018-08-03T14:41:56Z")

</div>

The error message is a bit of a misnomer. It is actually telling you that it can not find a package called QIIME2R in CRAN. Broadly speaking, there are 3 repositories you will use to install packages for R: CRAN, Bioconductor, and Github. CRAN is the general repository for packages which is where `install.packages()` installs packages from by default. Bioconductor is where many bioinformatics tools are located and is where `biocLite()` pulls its packages from. Github is usually where the latest development versions of packages or new packages that have not yet gone into a major repository go (like qiime2R). To install from github, the easiest way is using `devtools::install_github()`. While I plan on submitting qiime2R to bioconductor, for now it is only available from github. You can install it as below:

```auto
install.packages("devtools") #if you don't have devtools installed
devtools::install_github("jbisanz/qiime2R")

```

With all that said, it does specify that your R version should be 3.5 or greater in the current version which is a bit artificial but what can I say, update your deal.

---

<div class="post-metadata">

### Author: ![Fabs](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fabs](https://forum.qiime2.org/u/Fabs)
#### Post date: [August 4, 2018, 5:34am UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/5 "2018-08-04T05:34:37Z")

</div>

I see!

Perfect, I will install them with github. Thanks!

---

<div class="post-metadata">

### Author: ![Fabs](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/f/74df32/32.png) [@Fabs](https://forum.qiime2.org/u/Fabs)
#### Post date: [August 4, 2018, 7:50am UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/6 "2018-08-04T07:50:24Z")

</div>

> [@jbisanz](#):
>
> devtools::install\_github("jbisanz/qiime2R")

Hi Jbisanz,

Quick question. I do have Rstudio 3.5, and I used the code you mentioned to install the software, but, I still get the same error and in addition, I received this error.

_**devtools::install\_github("jbisanz/qiime2R")**_  
_**Skipping install of 'qiime2R' from a github remote, the SHA1 (ba443df0) has not changed since last install.**_  
_\*\* Use `force = TRUE` to force installation\*\*_

Any ideas?

---

<div class="post-metadata">

### Author: ![jbisanz](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jbisanz/32/1720_2.png) [@jbisanz](https://forum.qiime2.org/u/jbisanz)
#### Post date: [August 6, 2018, 7:54pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/7 "2018-08-06T19:54:21Z")

</div>

This would actually suggest you have already installed the package. It is saying that it won't update the package because it is identical to the one that is there. You should be able to load it now with library(qiime2R).

---

<div class="post-metadata">

### Author: ![Mehrdad](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrdad/32/3922_2.png) [@Mehrdad](https://forum.qiime2.org/u/Mehrdad)
#### Post date: [April 2, 2019, 5:59pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/8 "2019-04-02T17:59:02Z")

</div>

Hi,  
I have only the CRAN depository. I used the command as practice but not worked.

devtools::install\_github("jbisanz/qiime2R")

Do you have an idea to install Qiime2R package in RStudio?  
I am using the latest version of RStudio!

Thanks

---

<div class="post-metadata">

### Author: ![jbisanz](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jbisanz/32/1720_2.png) [@jbisanz](https://forum.qiime2.org/u/jbisanz)
#### Post date: [April 2, 2019, 11:57pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/9 "2019-04-02T23:57:16Z")

</div>

Hi Meha,

(Confusingly) Rstudio is an interface to R and its version is unrelated to your R version. Download the latest version here for your operating system: [https://www.r-project.org/](https://www.r-project.org/). Then make sure you have also installed devtools. If it still does not work, please post the error message when you try to install.

Jordan

---

<div class="post-metadata">

### Author: ![Mehrdad](https://forum.qiime2.org/user_avatar/forum.qiime2.org/mehrdad/32/3922_2.png) [@Mehrdad](https://forum.qiime2.org/u/Mehrdad)
#### Post date: [April 3, 2019, 12:49pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/10 "2019-04-03T12:49:52Z")

</div>

Hi @jbisanz  
Thanks!  
I followed by here.

> **[The Comprehensive R Archive Network](https://cran.r-project.org/)**

The link you sent was confusing to install R. I could not handle it.

> **[R: The R Project for Statistical Computing](https://www.r-project.org/)**

> **[Index of /src/base/R-3](https://cran.r-project.org/src/base/R-3/)**

The result is:

 ![Screenshot%20from%202019-04-03%2012-55-19](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/2X/0/0c7bb882b5b7d88a3599be8b2954cf0c27ea8097.png)

---

<div class="post-metadata">

### Author: ![jbisanz](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jbisanz/32/1720_2.png) [@jbisanz](https://forum.qiime2.org/u/jbisanz)
#### Post date: [April 5, 2019, 5:22pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/12 "2019-04-05T17:22:25Z")

</div>

It appears that devtools is in the middle of installing in your screenshot. I do not see an error raised. The installation of tools that require compilation may not be instantaneous. It appears you have R 3.4.4 which should be supported.

---

<div class="post-metadata">

### Author: ![jwdebelius](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jwdebelius/32/9655_2.png) [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)
#### Post date: [August 28, 2019, 2:32pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/13 "2019-08-28T14:32:50Z")

</div>

A post was split to a new topic: [qiime2R IRanges installation issue](https://forum.qiime2.org/t/qiime2r-iranges-installation-issue/11295)

---

<div class="post-metadata">

### Author: ![ASHooper](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/ecb155/32.png) [@ASHooper](https://forum.qiime2.org/u/ASHooper)
#### Post date: [April 5, 2022, 2:19pm UTC](https://forum.qiime2.org/t/qiime2r-not-compatible-with-r-version-3-1-or-3-5/5397/14 "2022-04-05T14:19:51Z")

</div>

Hello,

@jbisanz I am having difficulties in installing qiime2R on my version of R. I have tried -

install.packages("remotes")  
library(remotes)  
remotes::install\_github("jbisanz/qiime2R")  
library(qiime2R)

library(devtools)  
devtools::install\_github(jbisanz/qiime2R)

BiocManager::install("IRanges")  
library(IRanges)  
devtools::install\_github("jbisanz/qiime2R")  
library(qiime2R)

The main error message I am getting is this:

Warning message:  
In i.p(...) :  
installation of package ‘C:/Users/ashoo/AppData/Local/Temp/RtmpEhm8Bn/file567060197614/qiime2R\_0.99.6.tar.gz’ had non-zero exit status

And generally this one when I try to load the library:

> library(qiime2R)  
> Error in library(qiime2R) : there is no package called ‘qiime2R’

Any help you can offer would be highly appreciated, please and thank you.

Annalise
