本文主要是介绍future::plan(“multiprocess“, workers = 4),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
cellchat运行报错
future::plan("multiprocess", workers = 4) # do parallel (可以不设置这一步)
错误: Strategy 'multiprocess' is defunct in future (>= 1.32.0) [2023-03-06]. Instead, explicitly specify either 'multisession' (recommended) or 'multicore'.
解决:不运行此行代码即可。取消多线程。
R Cellchat包运行netClustering,反馈Strategy 'multiprocess' is defunct in future_编程语言-CSDN问答
cellchat <- netClustering(cellchat, type = "functional")
同样报错:
Error: Strategy 'multiprocess' is defunct in future (>= 1.32.0) [2023-03-06]. Instead, explicitly specify either 'multisession' (recommended) or 'multicore'.
解决:do.parallel = FALSE 好像就可以了
这篇关于future::plan(“multiprocess“, workers = 4)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!