[kepler-dev] [Bug 2959] - Need for Multiport input for RExpression actor

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Sat Feb 9 14:24:49 PST 2008


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2959





------- Comment #4 from leinfelder at nceas.ucsb.edu  2008-02-09 14:24 -------
The latest incarnation is to put any multiport input into an R list.  The list
variable name is the name of the input multiport on the R actor.  Items in the
list can be accessed directly using listName[[1]] (for the first item in the
list - this would be data from the first connection added to the R actor on
that multiport).

In the case of records (aka dataframes) from EML actors, multiple EML sources
can be connected to the same multiport, and a simple R script: do.call("rbind",
multiportName) will concatenate those dataframes into a big dataframe.  This is
equivalent to sql "union all"

Also, I've added support for multiport output so that the same data tokens can
be sent to multiple downstream actors if the workflow design requires such.



More information about the Kepler-dev mailing list