search for: do_past

Displaying 4 results from an estimated 4 matches for "do_past".

Did you mean: do_post
2002 May 07
2
names(unlist(...)) may construct corrupt strings (PR#1524)
names(unlist(...)) seems to be able to construct corrupt strings detected via: two identical strings behave different in paste observed in RW1.4.1 and RW1.5.0 pure replication code after output Best Jens Oehlschlägel > l <- names(unlist(list(aa = list(bb = 1)))) > l [1] "aa.bb" > # this is exactly "aa.bb" > identical(l, "aa.bb") [1] TRUE > >
2017 Jun 27
2
paste strings in C
...uot; "B*~C" In my real situation, the matrix I am working on is produced in the C code (and it's much larger). I don't know for sure, when calling the R function foo(), if the matrix is copied: if not, this might be the best solution for me. Otherwise I know there is a function do_paste() in C, and wondered whether I could use that directly instead of calling R from C. I hope this explains what I would like to do, many thanks in advance for any hint, Adrian -- Adrian Dusa University of Bucharest Romanian Social Data Archive Soseaua Panduri nr. 90-92 050663 Bucharest sector 5 R...
2005 Feb 24
3
string concatenation operator
...ave 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. For example, "a" ....
2017 Jun 27
0
paste strings in C
...In my real situation, the matrix I am working on is produced in the C code > (and it's much larger). > I don't know for sure, when calling the R function foo(), if the matrix is > copied: if not, this might be the best solution for me. > > Otherwise I know there is a function do_paste() in C, and wondered whether > I could use that directly instead of calling R from C. > > I hope this explains what I would like to do, many thanks in advance for > any hint, > Adrian > > -- > Adrian Dusa > University of Bucharest > Romanian Social Data Archive > S...