[kepler-dev] [Bug 4879] New: RExpression replaces ) in string vectors with } when outputting to a port

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Mar 12 10:37:50 PST 2010


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

           Summary: RExpression replaces ) in string vectors with } when
                    outputting to a port
           Product: Kepler
           Version: 1.x dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: actors
        AssignedTo: leinfelder at nceas.ucsb.edu
        ReportedBy: soong at nceas.ucsb.edu
         QAContact: kepler-dev at kepler-project.org


In an RExpression, create the output port "out" and in the R script, use: 

out <- c("(", ")")

Hooking this to a Display actor, I get {"(", "}"}.  This is because
RExpression.java line 1139 (I think) has: 

temp = temp.replace(')', '}');

which replaces all occurrences of ), even within the string.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list