powered by
py automatically converts 'Python' objects to R objects. import_main does not convert by default; see 'Examples' for details.
py
import_main
The 'Python' main process as a module
An object of class NULL of length 0.
NULL
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 }
Run the code above in your browser using DataLab