search for: datapartclass

Displaying 2 results from an estimated 2 matches for "datapartclass".

2020 Sep 24
2
Is it possible to simply the use of NULL slots (or at least improve the help files)?
Hi Martin, Thankyou for your response. I suspect that we're not going to agree on the main point. Making it trivially simple (as say Java) to set slots to NULL. So, I'll move on to the other points here. ***Note that cited text uses excerpts only.*** > setClassUnion("character_OR_NULL", c("character", "NULL")) > A = setClass("A", slots =
2020 Sep 24
0
Is it possible to simply the use of NULL slots (or at least improve the help files)?
...t;, "numeric")) Error in setOldClass(c("character", "numeric")) : inconsistent old-style class information for "character"; the class is defined but does not extend "numeric" and is not valid as the data part In addition: Warning message: In .validDataPartClass(cl, where, dataPartClass) : more than one possible class for the data part: using "numeric" rather than "character" Martin Morgan ?On 9/24/20, 4:51 PM, "Abby Spurdle" <spurdle.a at gmail.com> wrote: Hi Martin, Thankyou for your response. I suspe...