Dear R community, what would be the proper R way to handle obsolete function names? I have created several packages with functions and sometimes would like to change the name of a function but would like to create a mechanism that other scripts of functions using the old name still work. Cheers Jannis
proper way to handle obsolete function names
3 messages · Jannis, michael.weylandt at gmail.com (R. Michael Weylandt, Peter Langfelder
On Apr 17, 2013, at 10:17 AM, Jannis <bt_jannis at yahoo.de> wrote:
Dear R community, what would be the proper R way to handle obsolete function names? I have created several packages with functions and sometimes would like to change the name of a function but would like to create a mechanism that other scripts of functions using the old name still work.
It sounds like you want .Deprecate ?.Deprecate Michael
Cheers Jannis
______________________________________________ R-help at 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.
On Wed, Apr 17, 2013 at 10:36 AM, R. Michael Weylandt <michael.weylandt at gmail.com>
It sounds like you want .Deprecate ?.Deprecate
Perhaps you meant Deprecated? ?Deprecated Best, Peter