Returns the resource limits that SecureSession and execute_r() use
when sandbox = TRUE and you don't pass limits. Use it to see the
defaults, or as a starting point for your own.
Details
The returned list contains:
- cpu
CPU time limit in seconds (default: 60).
- memory
Virtual memory limit in bytes (default: 512 MB).
- fsize
Maximum file size in bytes (default: 50 MB).
- nproc
Maximum number of processes (default: 50).
- nofile
Maximum number of open file descriptors (default: 256).
Pass a changed copy to SecureSession$new(limits = ...) or
execute_r(limits = ...). Pass limits = list() to turn all limits off.