Hi. I’m Sharon Machlis at IDG Communications, here with Episode 48 of Do More With R: Run lengthy R tasks as local background jobs.
Have a script that’s gonna to take awhile to run? Here’s a quick tip: You can run it in your current RStudio project as a background job, so it doesn’t tie up the R console in your working project. Here’s how.
Instead of sourcing this script the usual way, see what happens when I click the source drop-down menu. There’s an option “Source as a Local Job.”
Now I can run this as a local background