Description Usage Arguments Examples
Copy a variable from Python to R
1
Rvar(var)
var
Python variable name
1 2 3 4 5 6 7 8 9 10 11
pyvar("x", 1:10) Rvar("x") pyrun("f = 3") Rvar("f") pyrun("s = ['a', 'b', 'c']") Rvar("s") pyrun("s2 = 'a'") Rvar("s2") data(whiteside, package="MASS") pyvar(whiteside) Rvar(whiteside)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.