View source: R/pythonInterface.R
ipython | R Documentation |
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.
ipython(file, package, module = "", ..., RPython = TRUE,
folder = "python")
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.