- InterpreterPath
Character string. The full path to the Python
interpreter executable (e.g., python.exe or python).
- Flags
Character vector. Optional flags passed directly to the Python
interpreter. Defaults to c("-u", "-m"). -u forces unbuffered binary
stdout and stderr streams. -m runs a library module as a script and is
essential for calling darwin.run_search.
- DirectoryPath
Character string. Optional path to the directory
containing the template.txt, tokens.json, and options.json files. If
provided, this path is used to locate these files, overriding any directory
information in the TemplatePath, TokensPath, and OptionsPath arguments
(a warning will be issued). Defaults to the current R working directory.
- TemplatePath
Character string. Path to the pyDarwin template file
(typically template.txt). If DirectoryPath is specified, only the
basename of TemplatePath is used, combined with DirectoryPath.
- TokensPath
Character string. Path to the pyDarwin tokens JSON file
(typically tokens.json). If DirectoryPath is specified, only the
basename of TokensPath is used, combined with DirectoryPath.
- OptionsPath
Character string. Path to the pyDarwin options JSON file
(typically options.json). This file defines run settings like
working_dir, output_dir, etc. If DirectoryPath is specified, only the
basename of OptionsPath is used, combined with DirectoryPath.
- Wait
Logical. If TRUE (default), R waits for the pyDarwin process to
complete before proceeding. If FALSE, R launches the pyDarwin process in
the background and returns immediately. See the 'Background Execution'
section for important details when using Wait = FALSE.