When I manually stop an Rstudio local background job (that is running a loop over many rstan analyses), Rstudio/R treat the job as if it's failed (rather than purposely stopped), and I'm stuck with 10's of GB of files in my "C:\Users[username]\AppData\Local\Temp" folder that I must manually remove. Is there some way to have Rstudio automatically remove these files only when a job is manually stopped (as opposed to failing)?