search for: sexp_rdata

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

2007 Sep 28
1
CHAR () and Rmpi
...ified in place. This change allows compilers to warn or error about improper modification. Thanks to Herve Pages for the suggestion. ******* Unfortunately this causes Rmpi to fail since MPI requires char pointers rather than const char pointers. Normally I use CHAR(STRING_ELT((sexp_rdata),0)) to get the pointer to MPI where a R character vector (C sense) is stored. Because of the change, all character messengers fail. Is there an easy way to get a char pointer to STRING_ELT((sexp_rdata),0) and is also backward compatible to old R versions. BTW Rmpi does not do any modification of c...