Hello, how can I add <TAB> expansion on R command line for own S4 classes?
setClass(Class="A", representation=representation(slotA="numeric", slotB="numeric")); setMethod("$", "A", function(x, name) {return(slot(x, name));}) a <- new("A", slotA=1, slotB=2) a$ <TAB> > a$ should become: a$ <TAB> > a$slotA a$slotB Kind regards, Sebastian ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.