Description Arguments Value Declaration See Also Examples
Both CHARACTER_VALUE and STRING_VALUE convert a scalar R object to a
C-string (char *).
x |
a pointer |
C string, i.e., a pointer char *.
1 2 | #define CHARACTER_VALUE(x) CHAR(Rf_asChar(x))
#define STRING_VALUE(x) CHAR(Rf_asChar(x))
|
In Rinternals.h.
R_CHAR, Rf_asChar
1 2 3 4 5 6 7 8 9 10 11 12 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.