rahul
rahul

Reputation: 91

why this error appears "all scheduled cores encountered errors in user code" is it related to core processor of servers?

We are analyzing sequencing data while filtering and trimming fastq files encountered following error. Is the following error due to unavailability of core for processing commands?

Error in colnames<-(*tmp*, value = c("cs103_R1_dada.fastq", "cs110_R1_dada.fastq", : attempt to set 'colnames' on an object with less than two dimensions In addition: Warning message: In mclapply(seq_len(n), do_one, mc.preschedule = mc.preschedule, : all scheduled cores encountered errors in user code >

Upvotes: 9

Views: 14461

Answers (4)

vdebuen
vdebuen

Reputation: 41

Note: If you include an unexpected argument in mclapply you also can get this error message. I put mC.cores instead of mc.cores by mistake and I got it.

Upvotes: 2

MacOS
MacOS

Reputation: 1159

To clarify on what @f2003596 and @HelloWorld said: This just means that a crash occurred within the function you called, i.e. while it was executing that function. But this does not necessarily mean that your function is incorrect. For example, you get the same error when a variable has not been found.

Upvotes: 1

SmallChess
SmallChess

Reputation: 8127

That would mean your R function has a crash.

Upvotes: 1

f2003596
f2003596

Reputation: 199

As pengchy suggested there may be something wrong with function. try the same call by using lapply and error message will be more informative.

Upvotes: 4

Related Questions