Skip to content

recommended C++ compiler for R package ?

2 messages · michael mathews, Dirk Eddelbuettel

#
oops should know better than just hit reply



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peak at the forecast

-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: Fri, 16 Feb 2007 08:01:11 -0800 (PST)
Size: 2024
Url: https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20070216/69a050c9/attachment.mht
#
On 16 February 2007 at 08:02, michael mathews wrote:
| On windows I would recommend Visual C++ 2005
| Is mostly standards complient has a decent IDE and you can get the
| express edition for free here
| http://msdn.microsoft.com/vstudio/express/

Maybe I am missing something but the question was 'C++ compiler for R
package' and last I checked, only gcc/g++ were officially supported.

Being able to use Visual C++ could be beneficial for external libraries etc.
AFAIK it has been possible with some elbow-grease. Eg Dominick has a short
tutorial in his RcppTemplate package on CRAN. 

However, I could not get that to work in a slighly more complex example (with
several in-house and third-party libraries). Things worked with g++ on a
stricter subset of libraries.

Dirk