[Rcpp-devel] Visual Studio compatible Rcpp

Dominick Samperi djsamperi at gmail.com
Wed Sep 15 17:10:29 CEST 2010

On Tue, Sep 14, 2010 at 10:50 AM, <romain at r-enthusiasts.com> wrote:

> Le 14 sept. 2010 à 16:26, pooja varshneya <pooja.varshneya at gmail.com> a
> écrit :
> > Thanks for the reply Romaine !!
> How did i get an extra "e" in my name ? :-)
> > The FAQ entry says that R and Visual
> > Studio don't get along.
> > However, i managed to generate a Visual Studio compatible import
> > library  for R from the instructions given in R source folder
> > README.packages file.
> >
> > Can you please elaborate on the problems you encountered in Visual
> > Studio compilation ? Has anyone tried it before ?
> I have not. And i dont plan to.
> I suppose C is easier to deal with than C++. if i cared about that, i would
> first try to use a simpler C++ library (one or two vanilla c++ classes).
> Rcpp uses many features of C++ that perhaps confuse the compiler you want to
> use.

I already submitted the changes necessary to fix the compiler "confusion,"
you know.

It is not true that R needs to be built using Visual Studio in order to use
DLL's that
are created by Visual Studio. VS DLL's can simply be copied over MinGW DLL's
and R will not know the difference. Of course, it is also possible to test
use the C++ part of an R pacckage from the VS IDE.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100915/c398b2bc/attachment.htm>

More information about the Rcpp-devel mailing list