| setJobGroup {SparkR} | R Documentation | 
Assigns a group ID to all the jobs started by this thread until the group ID is set to a different value or cleared.
## Default S3 method: setJobGroup(groupId, description, interruptOnCancel)
groupId | 
 the ID to be assigned to job groups.  | 
description | 
 description for the job group ID.  | 
interruptOnCancel | 
 flag to indicate if the job is interrupted on job cancellation.  | 
setJobGroup since 1.5.0
## Not run: 
##D sparkR.session()
##D setJobGroup("myJobGroup", "My job group description", TRUE)
## End(Not run)