Skip to content
Prev 105384 / 398506 Next

C structures in R

Isn't this a question clearly in R-devel's domain?

  R-devel is intended for questions and discussion about code development
  in R. Questions likely to prompt discussion unintelligible to
  non-programmers should go to to R-devel.

The short answer is that quite a bit of code, e.g pwilcox and RODBC, does 
things like this.  You don't need to pass the pointer back to R, but if 
you do external pointers are designed for this job.  Nevertheless, 
graphics recording on Windows makes use of integers AFAIR to store C-level 
structures (but it predates raw and external pointers).
On Fri, 1 Dec 2006, Barry Rowlingson wrote: