Learn R Programming

PythonInR (version 0.1-12)

autodetectPython: Autodetects the settings for Windows

Description

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

Usage

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

Run this code
# NOT RUN {
  autodetectPython()
  autodetectPython("C:\\Python27\\python.exe")
# }

Run the code above in your browser using DataLab