[R] proper way to handle obsolete function names

R. Michael Weylandt <michael.weylandt@gmail.com> michael.weylandt at gmail.com
Wed Apr 17 19:36:45 CEST 2013



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.



More information about the R-help mailing list