Description Usage Arguments Details Examples
The function pyExecfile calls the Python function execfile
. which
is the Python equivalent to the function source
provided in R.
1 | pyExecfile(filename)
|
filename |
a character string giving the name or full path of the file to be executed. |
The function execfile is kind of the source of Python. Since it got omitted in Python 3 a replacement gets assigned following common practices.
1 2 3 4 | ## Not run:
pyExecfile("myPythonScript.py")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.