[Rcpp-devel] Exposing R through C++

Dirk Eddelbuettel edd at debian.org
Wed Sep 12 15:12:17 CEST 2012


On 12 September 2012 at 04:58, Christian Gunning wrote:
| >I understand that I cannot use Visual Studio compiler to build code written in C++ that uses Rcpp header files. Assuming this is the >case, what are the other options that I have to be able to code in C++ which either internally uses Rcpp sugar for R functionality or >implements its own methods to be used in R environment as a package.
| 
| I suggest paying closer attention to your email subject-line; it can
| have a disproportionate impact on the quality of the replies that you
| receive.
| 
| If you're stuck on a windows box, you might want to set up a
| development environment in a virtual machine.  There are a number of
| nice free/opensource VM tools available (e.g. VirtualBox, see
| http://en.wikipedia.org/wiki/Comparison_of_platform_virtual_machines).
|  You could even use Amazon EC2 instance -- the lowest-tier ones are
| quite cheap, with community images containing complete development
| environments.
| 
| >Is cygwin compiler part of the open source R install?
| 
| No.  See http://cran.r-project.org/doc/manuals/R-admin.html#Getting-the-tools
| Incidentally, there's no such thing as a *non* open-source R install :)

And just to be very clear: there is of course a well-established toolchain
including a C and C++ compiler.  This is documented in quite some detail in
the "R Installation and Administration" manual that came with R.  Look
carefully at that, as well as the Rcpp FAQ.

Besides a clear Subject line, short and clear sentences help. I have re-read
your opening line several times and I still do not know if you want to embed
R in a C++ application, to extend R with C++-based packages.

Dirk

| 
| -Christian
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list