py_list | R Documentation |
List in 'Python'
py_list(..., convert = FALSE)
... |
passing to |
convert |
whether to convert the results back into R; default is no |
List instance, or an R vector if converted
if(interactive() && ants_available()) {
py_list(list(1,2,3))
py_list(c(1,2,3))
py_list(array(1:9, c(3,3)))
py_list(list(list(1:3), letters[1:3]))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.