Skip to contents

Resolves the Python interpreter in this priority order: the python argument, the GRAYLEAFSPOTR_PYTHON environment variable, the grayleafspotr.python option, rvenv_arm_311/bin/python relative to the working directory, and finally python3 / python from PATH.

Usage

grayleafspot_python_executable(python = NULL, engine_model = "localunet")

Arguments

python

Optional character. Path to a Python executable.

engine_model

Character. Reserved for future use; currently only "localunet" is supported.

Value

Character string: absolute path to the resolved Python executable.