[R] C++ - R - example

"Unternährer Thomas, uth" uth at zhwin.ch
Tue May 6 11:57:24 CEST 2003


Hi,

Does anybody has a simple example (a for loop, or so) how to use a C-function
In R? 
If it's possible, a *.cpp-file and what I need (wrapper or what ever).
I'm absolutly not a C++-hacker!

I try several ways, was reading the "writing R extension" and the windows-FAQ, but failed.

I try to programm a matrix inversion in a for-loop in C, which needs much time in R and want to 
load it as a function with dynload and .C into R.
If somebody has already done it...

I use VC++ and R 1.6.2


Thanks a lot

Thomas




More information about the R-help mailing list