run r function method in separate thread
Closed this issue · 4 comments
rcannood commented
allows for:
- loading packages without messing up downstream environments
- interrupting computations even when c++ code is being executed?
zouter commented
Good idea, have a look at the runr package
zouter commented
To understand this right, this is for non-docker TI methods right?
I actually meant the callr package: https://github.com/r-lib/callr
zouter commented
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...
zouter commented
Closing this