[kepler-users] I'm new to Kepler

Derik Barseghian barseghian at nceas.ucsb.edu
Fri Apr 3 12:36:28 PDT 2009


Hi Tommy,

You might try a Sequence To Array actor between your String to Int and  
RExpression actors, so that you can feed all your values into the R  
actor at once. You'd optimally want to configure the Sequence to Array  
ArrayLength parameter to be the number of values it's going to  
receive. If it's the case that you don't know and therefore can't set  
that number before running the workflow, in this case for your  
particular workflow, I believe you can just set ArrayLength to a very  
high number.

Derik

On Apr 3, 2009, at 11:44 AM, Tommy Stropp wrote:

> I'm trying to make a histogram of values that I read from a file.  
> Each value is on a separate line in the file and each line has a lot  
> of data that is separated by tabs.
> So what I have been able to do is extract the numbers I need, but I  
> haven't been able to figure out how to put them all together to make  
> a histogram. The way I have it now, Kepler makes a separate  
> histogram for each value. Also, I only have that working with  
> integers. I need to work with floating point numbers as well.
> I should also tell you that I know nothing when it comes to  
> programming in R. Everything I am doing I am learning by myself.
> I've included a screenshot of what I have so far and a couple sample  
> files that can be opened with a text editor (the end of line  
> character is \r\n).
> Any help would be greatly appreciated. Thanks in advance.
>
> - Tommy
>
>
>
> Internet Explorer 8 makes surfing easier. Get it now!  
> < 
> KeplerWorkflow 
> .jpg 
> > 
> < 
> file1_integers 
> .gff 
> ><file2_doubles.gff>_______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users




More information about the Kepler-users mailing list