Hi Ben, Thanks for the suggestion. I have looked at this actor - and you need to pre-configure the input ports - which would mean that you knew the number of input arrays. In my case I don't know the number of input arrays - this is determined when the workflow runs.
cheers -----Original Message----- From: ben leinfelder [mailto:[email protected]] Sent: Wednesday, 9 September 2009 3:21 AM To: Peters, Chris (ICT Centre, Hobart) Cc: kepler-users at kepler-project.org Subject: Re: [kepler-users] Sequence to Record Chris, Have you tried using the Record Assembler actor to make a record from your various arrays? That might be just the thing you need before hooking it up to an R actor. -ben On Sep 7, 2009, at 5:03 PM, <Chris.Peters at csiro.au> <Chris.Peters at csiro.au > wrote: > Hi, > > I running an SDF workflow with an ArrayToSequence actor; after > processing the sequence I want to re-integrate and feed into an R > actor. > > I'm having trouble doing this as an array of arrays is not handled > by the R actor. Eg {{1,2,3},{4,5,6}}. > > If I could turn the sequence into a "record" then the R actor would > recognise this as a dataframe - which is great for me. > > I've tried modifying the SequenceToArray actor to go to a record, > but this errors due to type mis-match on the ports. Eg > {v1={1,2,3},v2={4,5,6} ....} > > Any suggestions on how to do this would be appreciated? (note: I'd > trying to avoid writing/reading to/from a file in the file-system) > > thanks > > Chris Peters > Software Engineer - Tasmanian ICT Centre > The Tasmanian ICT Centre is jointly funded by the Australian > Government through the Intelligent Island Program and CSIRO. > The Intelligent Island Program is administered by the > Tasmanian Department of Economic Development and Tourism. > GPO Box 1538, Hobart, TAS 7001 > Castray Esplanade, Hobart, Tasmania > T: 03 6232 5432, F: 03 6232 5050, M: 0420340580 > > www.ict.csiro.au > www.csiro.au/science/TasICTCentre.html > > _______________________________________________ > Kepler-users mailing list > Kepler-users at kepler-project.org > http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

