I want to turn the assignment into a string and have it be one of the outputs of the function.
Input:
y <- f(x)
Desired Output:
"y"
I thought maybe sys.call()
would help but it doesn't seem to include the assignment.
I want to turn the assignment into a string and have it be one of the outputs of the function.
Input:
y <- f(x)
Desired Output:
"y"
I thought maybe sys.call()
would help but it doesn't seem to include the assignment.