.PythonInit {RSPython} | R Documentation |
These functions allow one to initializes the Python engine and creates an interpreter
and also to discard it and its contents.
The .PythonInit
function must be called before invoking a Python function or method.
One can start, stop and restart the Python interpreter any number of times.
.PythonInit(path=NULL, merge=T) .PythonTerminate()
.PythonInit
passes its arguments
to .PythonPath
to determine the
appropriate value for the PYTHONPATH
environment
variable. It then uses the returned value to set
this environment variable and then initializes the python
interpreter.
NULL or an error occurs.
Duncan Temple Lang
http://www.omegahat.org/RSPython, http://www.python.org
.PythonInit()