importPythonModule {RSPython} | R Documentation |
This loads the Python module into the Python interpreter,
making its functions and classes available to the Python, and hence R,
session. This is equivalent to the Python command
from <name> import *
.
importPythonModule(name, all=T)
name |
|
all |
Duncan Temple Lang
http://www.omegahat.org/RSPython, http://www.python.org
importPythonModule("sys") .PythonEval("version") importPythonModule("sys", all=F) .PythonEval("sys.version") ## Not run: importPythonModule("urllib", all=F) pythonModuleTypes("urllib") ## End(Not run)