Hello,
I was wondering, if it is possible, to run a single line of R code as a local job instead of a whole script. I think this would be incredibly useful, because I often only have a single line which takes a lot of time, and this would allow me to do other stuff in the same script, while the one function is computed in the background.
Ideally, there would be a shortcut (i.e. shift+enter
) to run a line as a job instead of the normal way (ctrl+enter
)
big_result <- function_which_takes_very_long(...)
# while this gets executed explore some other results
plot(c(1,2),c(3,4))
Thanks for any help!
Cheers!