I read Umesh email as wanting to call R *from* C++. If that's the case,
he should probably look at RInside.
Davor
On 13-06-17 04:40 AM, Dirk Eddelbuettel wrote:
Hi, Umesh,
On 17 June 2013 at 10:59, Umesh Chitre wrote:
| Guys,
|
| I am pretty new to R, but quite interested in the analytics and hence reading
lot of stuff around it for few weeks now. I am quite
| fammiliar with C++ environment and would like to build some samples in C++
which could consume the power of R. I have
| installed RCpp and R environment on windows. I would appreciate your response
to following queries:
|
| 1. Is RCpp enough for calling in R through C++?
I am not sure I really understand your question.
But in case you are unclear about what Rcpp needs to be used, please see the
Rcpp-FAQ vignette included in the package, and available at the CRAN website
and its mirror.
| 2. There is also a package (I think it is RCOM) that is used with a COM
server which apparently allows invoking R routines through C++. In that case,
would RCpp still be required?
The teo have nothing to do with each other.
RCOM can be used only on Windows.
Rcpp is generic and can be used whereever you can compile code for use with
R. That includes Windows but is not limited to Windows.
As for use of Rcpp along with Microsoft compilers, see the Rcpp-FAQ.
Dirk
|
|
| Thanks,
| Umesh
| Disclaimer: The information in this e-mail is confidential and may be legally
privileged. It is meant solely for intended recipients and access to the e-mail
by anyone else is prohibited. If you are not an intended recipient and/or have
received this email in error, please be advised that any disclosure,
distribution or any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful
|
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel@lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel