List in 'Python'
Arguments
- ...
passing to
list
('Python')- convert
whether to convert the results back into R; default is no
Examples
if(interactive() && dir.exists(env_path())) {
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]))
}