# Export R object with qiime2R?

**URL:** <https://forum.qiime2.org/t/export-r-object-with-qiime2r/7911>\
**Category:** Library Support\
**Tags:** qiime2-r, r\
**Created:** [January 21, 2019, 9:41am UTC](https://forum.qiime2.org/t/export-r-object-with-qiime2r/7911 "2019-01-21T09:41:36Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [January 21, 2019, 9:41am UTC](https://forum.qiime2.org/t/export-r-object-with-qiime2r/7911/1 "2019-01-21T09:41:36Z")

</div>

Hi,

Im wondering if there's a way to export data that I've run in R back into QIIME 2? Ive been using phylofactor, but I'd like to do some visualisation with Gneiss. I know I can export the tree object, balances, and tree-object from R and then somehow reverse engineer loading them into QIIME. (Or I guess I can reverse engineer coercing them into python and then make my plots there.) ...Anyway, I may be missing something, but suggestions would be helpful!

Thanks,  
Justine

---

<div class="post-metadata">

**Author:** ![thermokarst](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/t/8e7dd6/32.png) [@thermokarst](https://forum.qiime2.org/u/thermokarst)\
**Post date:** [January 22, 2019, 4:36pm UTC](https://forum.qiime2.org/t/export-r-object-with-qiime2r/7911/2 "2019-01-22T16:36:45Z")

</div>

> [@jwdebelius](#):
>
> somehow reverse engineer loading them into QIIME

No need to reverse engineer --- just export the data from `R`, then [Import](https://docs.qiime2.org/2018.11/tutorials/importing/) in QIIME 2!

---

<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:** [January 23, 2019, 9:30am UTC](https://forum.qiime2.org/t/export-r-object-with-qiime2r/7911/3 "2019-01-23T09:30:57Z")

</div>

@thermokarst,

Im reverse engineering R, at least for me. But, fair enough. I'd still love to be able to pass my objects directly. So, pulling out and then reloading feels like a reverse engineering.

I ended up exporting and just loading.

Best,  
Justine
