worker with R exec environment