Displaying 1 result from an estimated 1 matches for "badvar".
2000 Nov 26
0
Bug in args with no defaults (PR#747)
...quot;
> as.character(as.list(test)$x)
[1] ""
However, I'm not allowed to create one of those:
> as.name("")
Error in as.name("") : attempt to use zero-length variable name
If I'm sneaky, I can create one, but I can't do anything with it:
> badvar <- as.list(test)$x
> badvar
Error: Argument "badvar" is missing, with no default
> junk <- badvar
Error: Argument "badvar" is missing, with no default
> junk
Error: Object "junk" not found
For now, the workaround I'm using when building up fun...