Skip to content
Back to formatted view

Raw Message

Message-ID: <0B29229E-818C-11D7-8675-00039391E298@zedshaw.com>
Date: 2003-05-08T19:34:11Z
From: Zed Shaw
Subject: C++ - R - example
In-Reply-To: <6A4BCEF0FD65344A8F496D7E520DD8B9023E90A2@lobster.zhwin.ch>

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/