autodetectPython: Autodetects the settings for Windows

Description Usage Arguments Value Examples

View source: R/AutodetectPython.R

Description

Autodetects the settings needed to connect to the python dll file (only Windows).

Usage

1
autodetectPython(pythonExePath = NULL)

Arguments

pythonExePath

a string containing the path to "python.exe" (e.g. "C:\Python34\python.exe").

Value

Returns a list containing the information necessary to connect to Python if a compatible Python, version was found, raises an error otherwise.

Examples

1
2
3
4
5
## Not run:    
  autodetectPython()
  autodetectPython("C:\\Python27\\python.exe")

## End(Not run)

PythonInR documentation built on July 1, 2020, 6:05 p.m.