Skip to content

Error: could not find function "makeNode" (was: How to plan multisession with workers on windows?) #603

Answered by HenrikBengtsson
kapsner asked this question in Q&A
Discussion options

You must be logged in to vote

Studying your traceback() in detail, I see that you specify argument worker (singular) instead of workers (plural). That's the problem. I can reproduce the error when using the singular form:

> future::plan("multisession", worker = 2)
Error in makeNode(workers[[ii]], port = port, ..., rank = ii, action = "options",  : 
  could not find function "makeNode"

I recommend that you set options(warnPartialMatchArgs = TRUE) in your ~/.Rprofile to get a warning about these type of mistakes, e.g.

> options(warnPartialMatchArgs = TRUE)
> future::plan("multisession", worker = 2)
Error in makeNode(workers[[ii]], port = port, ..., rank = ii, action = "options",  : 
  could not find function "makeNode"
In 

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@kapsner
Comment options

Comment options

You must be logged in to vote
3 replies
@kapsner
Comment options

@HenrikBengtsson
Comment options

@kapsner
Comment options

Comment options

You must be logged in to vote
1 reply
@kapsner
Comment options

Answer selected by HenrikBengtsson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants