3
I need to run a function like
f <- function(...) {
l <- list(...)
l[["hortela"]]
}
x <- 'hortela'
If we do
f(hortela = 1)
we have the result 1, what is expected.
What do I call it f() using x instead of writing hortela manually?
PS: I don’t want to change the f().