Thanks in advance, and sorry if this question has been answered previously - I have looked pretty extensively. I have a dataset containing a row of with concatenated informa
Maybe initialize your list with a single generic function, and then update them using:
foo <- function(x){x+3} > body(foo) <- quote(x+4) > foo function (x) x + 4
More specifically, starting from a character, you'd probably do something like:
body(foo) <- parse(text = "x+5")