Skip to content
Discussion options

You must be logged in to vote

What you're looking for is the mirai package (https://github.com/r-lib/mirai).
That runs things in other processes, rather than threads, but it is also the only way as R is not multi-threaded.

What is the difference between call_aio() and collect_aio() ?
Is it simply that collect_aio returns the x$data fields ?

Yes. collect_aio(x) is marginally more efficient than call_aio(x)$data.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@avhz
Comment options

@shikokuchuo
Comment options

@avhz
Comment options

@shikokuchuo
Comment options

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