From thomas.baier at kirchnersoft.com  Thu Jun  8 09:23:34 2006
From: thomas.baier at kirchnersoft.com (TB)
Date: Thu, 8 Jun 2006 09:23:34 +0200 
Subject: [Rd] Call R From VC++
Message-ID: <F05B338A1B21D9119FFF0004761A511301F155@MXS>

Shilpi,

shilpi harpavat <mailto:shilpiharpavat at yahoo.com> wrote:

> I want to write an independent C++ application that
> can call any R functions and output it as an
> c++object.
> I tried to use The documentation for Linking R DLL
> with VC++ But with no success.
> When I link R.dll it says Invalid or corrupt file
> Any help greatly aprrciated.

An alternative to directly accessing R.dll from VC++
is to use COM. See http://cran.r-project.org/contrib/extra/dcom/
for a (D)COM server or use the package rcom for another (D)COM
server implementing the same COM interfaces.

Thomas



[Rd] Call R From VC++
TB