powered by
List in 'Python'
py_list(..., convert = FALSE)
List instance, or an R vector if converted
passing to list ('Python')
list
whether to convert the results back into R; default is no
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])) }
Run the code above in your browser using DataLab