This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# come up with some code elements | |
num1 <- 10 | |
num2 <- 5 | |
operators <- c('+','-') | |
# create a string of the desired code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# write some code and sit on it | |
mycode <- quote(1 + 2 +3) | |
# some time later, at your convenience, evaluate the code | |
eval(mycode) |
NewerOlder