ipython {XRPython} | R Documentation |
Write a File of Python Commands to Test Package Modules in Python
Description
A file of python commands will be written that set up an interactive Python session
having imported the contents from a file (module) of python code in an R package.
Typically, uploading such a file to ipython
notebook allows the python code, along with additional or modified code, to
be tested directly without interfacing from R.
Usage
ipython(file, package, module = "", ..., RPython = TRUE,
folder = "python")
Arguments
file |
A file name or open write connection. The python commands generated will be written to this file. |
package |
The R package containing the relevent module |
module |
The file (module) to be imported. Specifically, a command |
... |
Additional python commands to be appended to the output file. |
RPython |
Should the path include the XRPython code, default |
folder |
The name of the folder in the installed package; the default is the suggested |