> typeof(...)
Error: '...' used in an incorrect context
...没有类型吗?我以为R中的所有内容都有一个类型。 所以我进行了一些测试。
> is.function(...)
Error: '...' used in an incorrect context
> is.call(...)
Error: '...' used in an incorrect context
> is.function(...)
Error: '...' used in an incorrect context
> is.call(...)
Error: '...' used in an incorrect context
> is.name(...)
Error: '...' used in an incorrect context
> is.pairlist(...)
Error: '...' used in an incorrect context
> is.list(...)
Error: '...' used in an incorrect context
> is.expression(...)
Error: '...' used in an incorrect context
> is.language(...)
Error: '...' used in an incorrect context
我以为我从
学到了一些东西> typeof(quote(…))
[1] "symbol"
但是
> typeof(quote(rumpelstiltskin))
[1] "symbol"