Friday, 27 September 2013

Why can auto-suggest not access methods from Reference Classes in R

Why can auto-suggest not access methods from Reference Classes in R

Do I need to export Reference Classes methods somehow? Because methods
defined within reference classes seem not work with $ operator
auto-suggest, while functions that reside in lists do. This is pretty
annoying when reference classes contain many methods and their definitions
become longer. Am I missing some return(invisible()) or export?
What's the trick here?

No comments:

Post a Comment