# qiime2R installed by doesnt read qza

**URL:** https://forum.qiime2.org/t/qiime2r-installed-by-doesnt-read-qza/15259
**Category:** Library Support
**Tags:** qiime2-r
**Created:** [June 5, 2020, 4:28pm UTC](https://forum.qiime2.org/t/qiime2r-installed-by-doesnt-read-qza/15259 "2020-06-05T16:28:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![16sIceland](https://forum.qiime2.org/user_avatar/forum.qiime2.org/16siceland/32/8438_2.png) [@16sIceland](https://forum.qiime2.org/u/16sIceland)
#### Post date: [June 5, 2020, 4:28pm UTC](https://forum.qiime2.org/t/qiime2r-installed-by-doesnt-read-qza/15259/1 "2020-06-05T16:28:56Z")

</div>

Hello,

I've gone through the download process, and made sure that I have all the necessary packages installed. However, at the very first step, I am getting this error:

> qza\_table \<- read\_qza("~/Iceland-2014-data/Iceland-2014-table-data2.qza")  
> Error in read\_qza("~/Iceland-2014-data/Iceland-2014-table-data2.qza") :  
> could not find function "read\_qza"

... even though the install seemed to work fine, as seen here:

> devtools::install\_github("jbisanz/qiime2R")  
> Downloading GitHub repo jbisanz/qiime2R@master  
> ✓ checking for file ‘/private/var/folders/7p/pdccn9652m19v\_p5qskwvcq80000gq/T/RtmpwqIKvf/remotes2fef15fcc521/jbisanz-qiime2R-ffb19df/DESCRIPTION’ (471ms)  
> ─ preparing ‘qiime2R’:  
> ✓ checking DESCRIPTION meta-information ...  
> ─ checking for LF line-endings in source and make files and shell scripts  
> ─ checking for empty or unneeded directories  
> ─ building ‘qiime2R\_0.99.23.tar.gz’

- installing _source_ package ‘qiime2R’ ...  
\*\* using staged installation  
\*\* R  
\*\* inst  
\*\* byte-compile and prepare package for lazy loading  
\*\* help  
\*\*\* installing help indices  
\*\* building package indices  
\*\* installing vignettes  
\*\* testing if installed package can be loaded from temporary location  
\*\* testing if installed package can be loaded from final location  
\*\* testing if installed package keeps a record of temporary installation path
- DONE (qiime2R)

I am also unable to get ?read\_qza to return anything, however, ??read\_qza does open the documentation in the help window.

Any suggestions would be appreciated. Thanks.

---

<div class="post-metadata">

### Author: ![ChrisKeefe](https://forum.qiime2.org/user_avatar/forum.qiime2.org/chriskeefe/32/1907_2.png) [@ChrisKeefe](https://forum.qiime2.org/u/ChrisKeefe)
#### Post date: [June 5, 2020, 6:13pm UTC](https://forum.qiime2.org/t/qiime2r-installed-by-doesnt-read-qza/15259/2 "2020-06-05T18:13:50Z")

</div>

Hi @16sIceland!  
I don't have much mileage in R, but I suspect that you're unable to use the function because you haven't loaded the library yet. Can you double-check that you've loaded the library using the `library` command?

I think `?` only works if the library's been loaded, but `??` will bring up search results for any installed libraries regardless of loading.

Best,  
Chris 🐍

---

<div class="post-metadata">

### Author: ![16sIceland](https://forum.qiime2.org/user_avatar/forum.qiime2.org/16siceland/32/8438_2.png) [@16sIceland](https://forum.qiime2.org/u/16sIceland)
#### Post date: [June 5, 2020, 4:28pm UTC](https://forum.qiime2.org/t/qiime2r-installed-by-doesnt-read-qza/15259/3 "2020-06-05T16:28:49Z")

</div>

OK, I fixed it! I forgot to load the library with library(qiime2R).
