> 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"