Hi,
I have a fairly complete example of this in the Obversive project
(http://obversive.sf.net) in our RBackend component. You may even be
able to re-use our RBackend depending on the type of programming you're
using. Please contact me off line to discuss it further.
Zed A. Shaw
On Tuesday, May 6, 2003, at 02:57 AM, Untern?hrer Thomas, uth wrote:
>
> 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
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
>
-----
Zed A. Shaw
http://www.zedshaw.com/