# Error when trying to install qiime2R package

**URL:** https://forum.qiime2.org/t/error-when-trying-to-install-qiime2r-package/32999
**Category:** Other Bioinformatics Tools
**Tags:** qiime2r, qiime2-r, r
**Created:** [April 14, 2025, 1:33pm UTC](https://forum.qiime2.org/t/error-when-trying-to-install-qiime2r-package/32999 "2025-04-14T13:33:47Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lewcine](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/ecd19e/32.png) [@lewcine](https://forum.qiime2.org/u/lewcine)
#### Post date: [April 14, 2025, 1:33pm UTC](https://forum.qiime2.org/t/error-when-trying-to-install-qiime2r-package/32999/1 "2025-04-14T13:33:47Z")

</div>

Hi there! I'm trying to install the qiime2R package but I'm getting the following warning message:

```auto
Warning messages:
1: In i.p(...) : installation of package ‘rhdf5’ had non-zero exit status
2: In i.p(...) :
  installation of package ‘biomformat’ had non-zero exit status
3: In i.p(...) :
  installation of package ‘phyloseq’ had non-zero exit status
4: In i.p(...) :
  installation of package ‘/var/folders/c0/k9ryl9s90_99v68fd2698j2m0000gn/T//RtmpLs5ipM/file81e95413f494/qiime2R_0.99.6.tar.gz’ had non-zero exit status

```

Does anyone know what this means and how to fix?

---

<div class="post-metadata">

### Author: ![jphagen](https://forum.qiime2.org/user_avatar/forum.qiime2.org/jphagen/32/17133_2.png) [@jphagen](https://forum.qiime2.org/u/jphagen)
#### Post date: [April 14, 2025, 6:42pm UTC](https://forum.qiime2.org/t/error-when-trying-to-install-qiime2r-package/32999/2 "2025-04-14T18:42:27Z")

</div>

Hi @lewcine,  
Welcome to the :qiime2: forum!

> [@lewcine](#):
>
> `1: In i.p(...) : installation of package ‘rhdf5’ had non-zero exit status`

These errors mean that you are missing the dependencies 'rhdf5', 'biomformat', 'phyloseq' to install qiime2R.  
[This similar post](https://forum.qiime2.org/t/qiime2r-installation-in-r/25780) shared a work around you might try.  
Let me know if you still run into trouble after you get those dependencies installed!

--Hannah

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [May 16, 2025, 12:42am UTC](https://forum.qiime2.org/t/error-when-trying-to-install-qiime2r-package/32999/3 "2025-05-16T00:42:37Z")

</div>

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
