Skip to contents

Inspects the operating system and delegates to the appropriate platform- specific sandbox builder. Returns a list that start_session() uses to wrap the child R process.

Usage

build_sandbox_config(socket_path, r_home = R.home(), limits = NULL)

Arguments

socket_path

Path to the UDS socket (must be writable by the child)

r_home

Path to the R installation (default: R.home())

limits

Optional named list of resource limits (see generate_ulimit_commands())

Value

A list with elements:

wrapper

Path to a shell wrapper script, or NULL

profile_path

Path to the generated sandbox profile, or NULL