PythonInR: Use Python from Within R
- CRAN: http://cran.r-project.org/web/packages/PythonInR/index.html
- URL: https://bitbucket.org/Floooo/pythoninr/
> library(PythonInR)
Initialize Python Version 2.7.10 (default, Oct 23 2015, 18:05:06)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]
バージョン: 0.1.3
関数名 | 概略 |
---|---|
BEGIN.Python |
Execute Python interactively from within R |
autodetectPython |
Autodetects the settings for Windows |
pyAttach |
Attach Python objects to R |
pyCall |
Call a callable Python object from within R |
pyConnect |
connects R to Python |
pyDict |
Create a virtual Python dictionary |
pyDir |
Convenience function to call the Python function dir |
pyExec |
Executes multiple lines of Python code from within R |
pyExecfile |
Executes Python source file from within R |
pyExecg |
Executes multiple lines of python code and gets the output |
pyExecp |
Executes a single line of Python code from within R |
pyExit |
closes the connection to Python |
pyFunction |
creates a virtual Python function |
pyGet |
Gets Python objects by name and transforms them into R objects |
pyGet0 |
Creates an R representation of an Python object |
pyHelp |
Convenience function to access the Python help system |
pyImport |
Import virtual Python objects to R |
pyIsConnected |
checks if R is connected to Python |
pyList |
Creates a virtual Python list |
pyObject |
Creates a virtual Python object |
pyOptions |
Options for the PythonInR package |
pyPrint |
Convenience function to print a given Python object to the R terminal |
pySet |
assigns R objects to Python |
pyTuple |
Creates a virtual Python tuple |
pyType |
Convenience function to call the Python function type |
pyVersion |
is a convenience function to get sys.version from Python |