run_pyDarwin {Certara.RDarwin} | R Documentation |
Run pyDarwin Model Search
Description
This function runs a pyDarwin model search using the specified parameters. It launches the search process and monitors its progress.
Usage
run_pyDarwin(
InterpreterPath,
Flags = c("-u", "-m"),
DirectoryPath = ".",
TemplatePath = "template.txt",
TokensPath = "tokens.json",
OptionsPath = "options.json",
Wait = TRUE
)
Arguments
InterpreterPath |
Path to the Python interpreter executable. |
Flags |
Flags to pass to the Python interpreter. Refer to Python
documentation for details. Note that |
DirectoryPath |
Optional path to the directory containing template file,
tokens file and options file. If that argument is given, it overrides the
paths of |
TemplatePath |
Path to the template file. |
TokensPath |
Path to the tokens JSON file. |
OptionsPath |
Path to the options JSON file. |
Wait |
Logical. If |
Value
If Wait
is TRUE
, a list containing the results of the search,
including a data frame for all models executed, a final model and
properties of the final model generated by pyDarwin when available. If
nothing is available, messages.txt
file text is given. If Wait
is
FALSE
, messages.txt
file location is returned where raw output of
pyDarwin run is stored.
Examples
## Not run:
result <- run_pyDarwin(
InterpreterPath = "~/darwin/venv/bin/python",
DirectoryPath = "~/project_folder",
TemplatePath = "template.txt",
TokensPath = "tokens.json",
OptionsPath = "options.json"
)
## End(Not run)