RExpression converts nil input into "NA"
If I pass a nil input token to RExpression, it produces an R variable that contains the string "NA" (2 letters) rather than the special NA or NULL values.
#1 Updated by ben leinfelder over 10 years ago
1.) If I use a String Constant actor with the value nil then I get NA as a string in the RExpression actor.
2.) If I use a Constant actor I don't even get any value in the RExpression actor.
I think the first case acts as it should (except that it changes the string value and that might not always be expected even for this very special Ptolemy string).
Case number 2 should give us a non-string NA in the RExpression actor as this bug expects. I'll make that happen.