From c@tr@to @end|ng |rom @on@@t  Sat Mar 30 15:08:33 2019
From: c@tr@to @end|ng |rom @on@@t (cstrato)
Date: Sat, 30 Mar 2019 15:08:33 +0100
Subject: [Rd] Use of C++ in Packages
In-Reply-To: <F68C848D-AE93-4CA9-9314-1ACDB23B87F6@r-project.org>
References: <F68C848D-AE93-4CA9-9314-1ACDB23B87F6@r-project.org>
Message-ID: <fa25579c-80e0-e143-5100-1779871a1e7e@aon.at>

Hi,

It may or may not be of interest to you but an example how to access R 
functions from C++ can be found in the ROOT C++ framework, ROOT Version 
6, see e.g.:
https://root.cern/doc/master/classROOT_1_1R_1_1TRInterface.html
with an example shown in:
https://root.cern/doc/master/r_2example_8C.html

BTW, I strongly disagree that C++ does not have? a bright future!

Best regards,
Christian
_._._._._._._._._._._._._._._._._._
C.h.r.i.s.t.i.a.n?? S.t.r.a.t.o.w.a
V.i.e.n.n.a?????????? A.u.s.t.r.i.a
e.m.a.i.l:??????? cstrato at aon.at
_._._._._._._._._._._._._._._._._._


P.S.: Accessing a complete C++ program (based on ROOT Version 5) from R 
is shown in my Bioconductor package 'xps'



[Rd] Use of C++ in Packages
cstrato