ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 23 Jul 2013 13:17:43 -0500how to export vector variables and other data structures into R as variables?http://ask.sagemath.org/question/10380/how-to-export-vector-variables-and-other-data-structures-into-r-as-variables/All the examples I kind find here and in the documentation pass data from sage to R to be used once. I'd like to pass data that's in a sage (python) variable and turn it into an R variable that I can subsequntly use in %r codeblocks.
simple stuff like r.set('x', [1,2,3]) doesn't work because set expects a string. I could turn vectors into strings before passing them to set, but that's kind of klugy (and could be a pain for more complicated things.Tue, 23 Jul 2013 13:17:43 -0500http://ask.sagemath.org/question/10380/how-to-export-vector-variables-and-other-data-structures-into-r-as-variables/