search for: tp1478140p1478220

Displaying 1 result from an estimated 1 matches for "tp1478140p1478220".

Did you mean: tp1478140p1478223
2010 Feb 12
4
How to get the source code for the assignment of a variable?
'get' can give me the source code for a function. Is there a way to get the source code for a variable? In the following example, the source code for x is 'y*y'. Is there a way to get it using the string 'x'? > f=function(){print('xx')} > get('f') function(){print('xx')} > y=3 > x=y*y > get('x') [1] 9