search for: a_ui_get

Displaying 1 result from an estimated 1 matches for "a_ui_get".

Did you mean: a_i_get
2008 Feb 03
1
R class accessor problem in 2.6
...at the end of this e-mail. In 2.5 a function like r$d would get dispatched to A_d_get(r). but in 2.6 it returns a NULL. # Start of accessor method for A setMethod('$', '_p_A', function(x, name) { print('foo') accessorFuns = list('i' = A_i_get, 'ui' = A_ui_get, 'd' = A_d_get, 'str' = A_str_get, 'tmp' = A_tmp_get) vaccessors = c('i', 'ui', 'd', 'str', 'tmp') idx = pmatch(name, names(accessorFuns)) if(is.na(idx)) return(callNextMethod(x, name)) f = accessorFuns[[idx]] formals(f)[...