pyvar: Copy variable from R to Python

Description Usage Arguments Examples

Description

Copy variable from R to Python

Usage

1
pyvar(name, x)

Arguments

name

variable name in python

x

R data, numeric and character vectors and numeric matrices are currently supported.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
pyvar("x", 1:10)
pyprint(x)
pyvar("s", c("Hello", "R!"))
pyprint(s)
pyvar(volcano) #Matrix
pyprint(volcano)
df <- data.frame(x = rnorm(10), y = 1:10)
pyvar(df)
pyprint(df)
pyvar("l", list(a=3, b=1:10, z="a"))
pyprint(l)

mpastell/Rpyplot documentation built on May 23, 2019, 6:27 a.m.