Displaying 1 result from an estimated 1 matches for "charcterarray".
2012 Dec 25
2
reinterpreting externalptr in R
..."externalptr" into another form...
a function that looks like the following:
*void* test(){
std::string str="test";
return str.c_str();
}*
when I call this from R:
*str <- test()
typeof(str) % result is: "externalptr"*
how could I reinterpret this to a charcterarray, to a numeric, to list, or
...
Thanks for any suggestions ;)
--
View this message in context: http://r.789695.n4.nabble.com/reinterpreting-externalptr-in-R-tp4653908.html
Sent from the R devel mailing list archive at Nabble.com.