From edd at debian.org  Mon Oct 21 19:31:29 2013
From: edd at debian.org (Dirk Eddelbuettel)
Date: Mon, 21 Oct 2013 17:31:29 +0000
Subject: [Rd] About integrating R inside a C++ software
References: <52655FC6.7030700@galaxysemi.com>
Message-ID: <loom.20131021T192956-461@post.gmane.org>

Tambellini William <william.tambellini <at> galaxysemi.com> writes:
>   We want to integrate R inside our software in order to use mainly the 
> engine (usual stats as mean, sigma, Pearson, outlier detection, CPA, 
> multivariate, ...) and probably later the chart solution.
>   Of course we don't want to temporary write the data to some csv files 
> and then do an ugly system() call : system("RScript.exe myscript.R") for 
> many legitimate reasons.

That is *precisely* the use case for RInside which you already found.

>   We are also using Qt so a Qt to/from R wrapper could be interesting.

The RInside distribution contains *a fully working example* for a Qt-based
C++ main program with an embedded R instance:  RInside.

Hope this helps,  Dirk



[Rd] About integrating R inside a C++ software
Dirk Eddelbuettel