ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 05 Jun 2013 16:45:40 +0200How can I find out the name of some variable?https://ask.sagemath.org/question/10183/how-can-i-find-out-the-name-of-some-variable/Hello!
For example I have variable p in sage notebook. I need my class can find out the name of variable:
sage: p = 3
sage: my_class(p)
ans: 'p'
How to implement this feature? Thanks.
P.S.: sorry if my english isn't good.AndreWinWed, 05 Jun 2013 16:45:40 +0200https://ask.sagemath.org/question/10183/Converting R variables to sagehttps://ask.sagemath.org/question/8375/converting-r-variables-to-sage/If I have a bunch of notebook cells with R code using the %r method, is there an easy way to grab the data as a varible in Python/Sage without converting the whole thing to use r.command syntax?
mlantingThu, 13 Oct 2011 16:25:06 +0200https://ask.sagemath.org/question/8375/