r - Non-standard evaluation inside of a function -
i having problems non-standard evaluation using eval
. code looks this:
outer_fun <- function(input_1, input_2) { #some computations } <- function(input_1, input_2, name = "outer"){ eval(parse(text = paste0(name, '_fun(input_1, input_2)')), envir = environment(something)) }
and while executing receive object 'input_1' not found
. can me envir setting? have tried parent.env()
, parent.frame()
, did not help.
Comments
Post a Comment