Project

General

Profile

Bug #3214

R actor does not handle single quotes in character string data

Added by ben leinfelder over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
04/08/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3214

Description

When string values (in my case they were from a RecordToken emitted by the EML actor) include single quotes (or apostrophes) the generated R code was not escaping them and execution would halt when the R process raised an error.

History

#1 Updated by ben leinfelder over 11 years ago

R allows the use of single or double quotes to indicate character strings. The RExpression actor was using single quotes instead of double. It now uses double quotes to indicate the start and end of character strings and therefore single quotes can be included in the character strings without error.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3214

Also available in: Atom PDF