[ESS] Equivalent to RStudio 'Extract Function'

Andreas Leha andreas.leha at med.uni-goettingen.de
Sun Feb 16 14:07:29 CET 2014


Vitalie Spinu <spinuvit at gmail.com> writes:

>  >>> Andreas Leha on Sun, 16 Feb 2014 09:22:04 +0100 wrote:
>
> [...]
>
>  AL> ,----
>  AL> | RStudio can analyze a selection of code from within the source editor
>  AL> | and automatically convert it into a re-usable function. Any "free"
>  AL> | variables within the selection (objects that are referenced but not
>  AL> | created within the selection) are converted into function arguments
>  AL> `----
>
>  AL> That seems really useful to me.  Is there similar functionality in ess?
>
> No, but could be easily added. Added to the todo; thanks.

Thank you already for considering this.  It is not much of an issue, of
course.  I do no see much reason to switch to another environment to do
my (R-)coding; but it would be even better if there was none at all ;-)

  Andreas



More information about the ESS-help mailing list