search for: do_dot

Displaying 1 result from an estimated 1 matches for "do_dot".

Did you mean: dot_dot
2005 Feb 24
3
string concatenation operator
Why doesn't R have one, like "." in Perl or juxtaposition in awk? It does not seem impossible to introduce one, if that would be reasonable. It would seem to involve adding a table entry to main/names.c for the binary operator and a corresponding internal function, say do_dot(). This cannot be simply do_paste(), since the implied separator is "". So, do_dot() might be similar, but if it finds a non-string operand, a syntax error would be issued, in place of the message from do_paste() noting a bad *argument*. Precedence must be decided, but it may not matter...