Copy list of strings from Python to R character vector
1 |
1 2 3 4 5 | pyrun("l = ['a', 'b']")
pyrun("print(l)")
charvec_to_R("l")
pyrun("l2 = [u'a', u'b']")
charvec_to_R("l2")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.