dynverse/dynwrap

run r function method in separate thread

Closed this issue · 4 comments

allows for:

  • loading packages without messing up downstream environments
  • interrupting computations even when c++ code is being executed?

Good idea, have a look at the runr package

To understand this right, this is for non-docker TI methods right?

I actually meant the callr package: https://github.com/r-lib/callr

I think having to run this in a separate R session kind of defeats the purpose of having an run R function. If you really need custom libraries, I think it is best if you just create an R package containing your R wrapper function, and doing @import or something for that function...

Closing this