Prevent System Sleep During Long R Tasks
Turn nosleep off
Turn nosleep on
NoSleepR: Prevent system sleep during long R tasks
Execute an expression while preventing the system from sleeping
Provides a cross-platform interface to prevent the operating system from going to sleep while long-running R tasks are executing.
Useful links