Re: [R] Function assignment

2014-07-28 Thread Florian Ryan
j="missing", y){ setExternReference(i, y) return(x) } I can get nicely the name inside the bracket (x["name"] <- ) it seemed possible to get "name" some how out of an name <- assignment. Again thank you very much for hints and advice. Florian Ryan f

[R] Function assignment

2014-07-26 Thread Florian Ryan
Hello, I would like to use the variable name which i assign the return value of a function in a function. Is that possible? e.g. foo <- function(){ some not to me known R magic } myVariableName <- foo() myVariableName [1] "myVariableName" Hope someone can help me. Thanks Florian [