Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on mclapply(1:nrow(count), function(ii) {: 'mc.cores' > 1 is not supported by Windows #1

Open
Yvyiqiu opened this issue Dec 17, 2024 · 0 comments

Comments

@Yvyiqiu
Copy link

Yvyiqiu commented Dec 17, 2024

Dear Author of the CellTran Package,

I am writing to express my appreciation for your work on the CellTran package, which I find to be an incredibly valuable tool for my research.

While using the package on a Windows system, I encountered an issue when calling one of its functions. The error message I received was:

transcell <- CellTran::transition_index(sce.tumor)
error on mclapply(1:nrow(count), function(ii) {:
'mc.cores' > 1 is not supported by Windows

It appears that the function relies on mclapply, which unfortunately is not supported on Windows for mc.cores > 1. I understand that this limitation stems from how parallel processing is implemented on Windows systems, but I was wondering if there might be a parameter or an alternative approach within CellTran to address this issue.

If the package does not currently support an alternative for Windows users, could you please advise on how best to adapt the code for this environment?

I greatly appreciate your time and assistance in addressing this matter, and I am truly grateful for the effort you have put into developing CellTran. Thank you for considering my question, and I look forward to hearing your advice.

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant