Displaying 1 result from an estimated 1 matches for "showmiss".
Did you mean:
showmacs
2003 Dec 19
1
Missing arguments to new
Is this the expected and/or correct behaviour? And if
so, how do I persuade new to interpret a named but
missing argument as missing?
-------------
setClass("testMissing",representation(a="numeric"),prototype=list(a=0));
showMissing <- function(real.arg,missing.arg) {
really.missing <- new("testMissing");
show(really.missing);
really.there <- new("testMissing",a=1);
show(really.there);
arg.there <- new("testMissing",a=real.arg);
show(arg.there);
arg.missing <- new(&...