lock.Job: Locks the job

Description Usage Arguments Value Author(s) See Also

Description

Locks the job. When a job is locked, no other Job objects can lock and run the same job code.

Usage

1
2
## S3 method for class 'Job'
lock(this, ...)

Arguments

...

Not used.

Value

Returns TRUE if job is locked afterwards, otherwise FALSE. If job does not exist or is already locked, an exception is thrown.

Author(s)

Henrik Bengtsson

See Also

*isLocked() and *unlock(). For more information see Job.


HenrikBengtsson/R.batch documentation built on May 6, 2019, 11:52 p.m.