- TODO 整理有用的搬过来:https://www.cnblogs.com/xuancaoyy/p/5309966.html
1 帮助
- R环境中
?solve
或 help(solve)
—— 找到该函数文档
2 变量
- Convert a string to a variable name on-the-fly –
parse()
x <- 42
eval(parse(text = "x"))
[1] 42
- How to go the other way?
x <- 42
deparse(substitute(x))
[1] "x"