ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 05 Jun 2013 09:45:40 -0500How 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 09:45:40 -0500https://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 09:25:06 -0500https://ask.sagemath.org/question/8375/