An error was encountered while running DADA2 in R (return code 1). 'names' attribute [48] must be the same length as the vector [24]

@Liang_Cheng, your error is probably the same as in these topics: (1, 2) - an out of memory error that usually occurs when using many threads.

Try setting --p-n-threads to a fixed number that is smaller than the max number of cores on your system (0 uses all available cores). Two or four might be a good place to start, and you can tweak the settings from there.

Let me know how that goes,
Chris :dove:

1 Like