[R] R extension in C

Joe Conway joseph.conway at home.com
Thu Jul 19 23:01:07 CEST 2001


I'm trying to modify the RPgSQL R extension, in part as a learning
experience on how R is extended. Specifically I'm writing a new function
which attempts to create a data.frame in C, and pass it back to R. The key
word is "attempts" in this last sentence. I haven't been able to get it
right, and I've not found many good examples or a comprehensive description
of the requirements. The closest I've found is do_modelframe in model.c and
the "Writing R Extensions" document. They were a good start, but didn't
quite get me there. Can anyone point me toward some other

Thanks in advance,

-- Joe

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list