From deepayan.sarkar at gmail.com  Fri Aug 30 13:15:46 2013
From: deepayan.sarkar at gmail.com (Deepayan Sarkar)
Date: Fri, 30 Aug 2013 16:45:46 +0530
Subject: [Rd] Type annotations for R function parameters.
In-Reply-To: <CAKFcK8j8OsVGC4LaL4P7ec+2683SypGjOJEsFqV6pfHhFJHMUQ@mail.gmail.com>
References: <CAKFcK8j8OsVGC4LaL4P7ec+2683SypGjOJEsFqV6pfHhFJHMUQ@mail.gmail.com>
Message-ID: <CADfFDC5YNaJF-N1zfXOYCpYvWFg4_y=AqBG1TVO9ThtOZi7naA@mail.gmail.com>

On Fri, Aug 30, 2013 at 2:49 PM, ???????? ????? <oboturov at gmail.com> wrote:
> Hello.
>
> One of my clients asked if it would be possible to have an IDE which could
> use type discovery for R functions to make flow-like construction of an R
> program. Something like a LabView graphical composition of processing
> elements.
>
> They called this type of program composition a "workflow".
>
> I looked at some of this programs, like:
> * Orange http://orange.biolab.si/
> * RedR http://www.red-r.org/
> * Rattle http://rattle.togaware.com/
> * Rpad https://code.google.com/p/rpad/
>
> and all of them did type introspection (they made mapping between R
> functions and their IDE's visual framework) by hand for each function of
> supported packages which is time and resource consuming.
>
> So, to reduce an amount of code to be written for adapters between R and
> IDE some kind of annotations could be introduced over parameters and return
> values. Those could be optional and will help to discover type information
> for support of dynamic composition of programs.
>
> Do you have any suggestions on the topic?

See

http://bioconductor.org/packages/2.12/bioc/html/TypeInfo.html

-Deepayan



[Rd] Type annotations for R function parameters.
Deepayan Sarkar