run R but don't wait for result
also give exit code for R at same time