rpymat-python-main {rpymat}R Documentation

Get 'Python' main process environment

Description

py automatically converts 'Python' objects to R objects. import_main does not convert by default; see 'Examples' for details.

Usage

py

Format

An object of class NULL of length 0.

Value

The 'Python' main process as a module

Examples


if(interactive() && dir.exists(env_path())) {

py_no_convert <- rpymat::import_main(convert = FALSE)

py$a <- matrix(seq_len(16), 4)

py_no_convert$a

py$a

}


[Package rpymat version 0.1.7 Index]