rpymat-python-main | R Documentation |
py
automatically converts 'Python' objects to R objects.
import_main
does not convert by default; see 'Examples' for details.
py
An object of class NULL
of length 0.
The 'Python' main process as a module
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
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.