Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

I am having this same issue with none of the suggestions fixing it. Error in storage.mode(x) <- "double" : 'list' object cannot be coerced to type 'double' #621

Closed
afletch00 opened this issue May 19, 2023 · 1 comment

Comments

@afletch00
Copy link

          @YitengDang Hi, may I know if you have solved your problem now?  I also met the same issue. 
  1. future::plan("multiprocess", workers = 4)
    Error: ‘node$session_info$process$pid == pid’ is not TRUE

when I changed the code, it still appeared.

future::plan("multisession", workers = 4)
Error: ‘node$session_info$process$pid == pid’ is not TRUE

Interesting, only by this code it worked. And the following "identifyOverExpressedGenes" ran well.
future::plan("multisession", workers = 1)

But, if workers more than 1, error appeared again:

future::plan("multisession", workers = 2)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
future::plan("multisession", workers = 3)
Error: ‘node$session_info$process$pid == pid’ is not TRUE
future::plan("multisession", workers = 4)
Error: ‘node$session_info$process$pid == pid’ is not TRUE

  1. for netClustering(), I changed
    netClustering <- function(object, slot.name = "netP", type = c("functional","structural"), comparison = NULL, k = NULL, methods = "kmeans", do.plot = TRUE, fig.id = NULL, do.parallel = TRUE, nCores = 1, k.eigen = NULL)

but it reported:
Error in storage.mode(x) <- "double" :
'list' object cannot be coerced to type 'double'

when I modified "kmeans(data.frame(data.use),kRange[x],nstart=10)$cluster",
it showed "Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) :
cannot coerce class ‘"umap"’ to a data.frame "

So, could you help me to solve these problems? Thank you very much!

Originally posted by @AIYang1210 in #174 (comment)

@afletch00 afletch00 changed the title @YitengDang Hi, may I know if you have solved your problem now? I also met the same issue. I am having this same issue with none of the suggestions fixing it. Error in storage.mode(x) <- "double" : 'list' object cannot be coerced to type 'double' May 19, 2023
@afletch00
Copy link
Author

I was able to resolve this issue.

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

No branches or pull requests

1 participant