Re: [Rd] reinterpreting externalptr in R

2012-12-27 Thread andre__
Thanks a lot ... -- View this message in context: http://r.789695.n4.nabble.com/reinterpreting-externalptr-in-R-tp4653908p4654033.html Sent from the R devel mailing list archive at Nabble.com. __ R-devel@r-project.org mailing list https://stat.eth

[Rd] reinterpreting externalptr in R

2012-12-25 Thread andre__
Hi, I am using swig to build a wrapper for an c-function to use it in R. I would like to define a generic function, which gives back a void pointer. On the R side, I know what this pointer is pointing to, whether it is an integer or an string, or something else... but I need to somehow reinterpret