# An error occured while running DADA2 in R

**URL:** <https://forum.qiime2.org/t/an-error-occured-while-running-dada2-in-r/15940>\
**Category:** Technical Support\
**Tags:** dada2\
**Created:** [August 4, 2020, 6:47am UTC](https://forum.qiime2.org/t/an-error-occured-while-running-dada2-in-r/15940 "2020-08-04T06:47:12Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![llenzi](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/l/9fc29f/32.png) [@llenzi](https://forum.qiime2.org/u/llenzi)\
**Post date:** [August 10, 2020, 6:34pm UTC](https://forum.qiime2.org/t/an-error-occured-while-running-dada2-in-r/15940/17 "2020-08-10T18:34:53Z")

</div>

Hi @Fra,

A quick follow up on the error in the command command, did you check the available space on your machine?

Your error seems the same as in:

> [@Return code 1 running DADA2 with single-end PGM/Ion torrent data](https://forum.qiime2.org/t/return-code-1-running-dada2-with-single-end-pgm-ion-torrent-data/8959/7):
>
> yes, maybe that's the reason. when I set the TMPDIR = XXX, the XXX directory didn't exists. So I need to mkdir XXX at first. however, I don't think -p-n-threads 60 caused the problem.

(The fact that this thread is related to ion-torrent data should not be a problem, the error is not linked to the type of data in this case!)

Luca

---

_[View the full topic](https://forum.qiime2.org/t/an-error-occured-while-running-dada2-in-r/15940)._
