Message-ID: <BANLkTimFfPaXkkuJUF9KYAtB8gBOEgXoOg@mail.gmail.com>
Date: 2011-05-16T14:47:15Z
From: Steve Lianoglou
Subject: [Rcpp-devel] Function does not compile on Mac OSX
In-Reply-To: <BANLkTikMsa5GmcEeMWh8e2XrcuUfwuhOTQ@mail.gmail.com>
Hi,
For what it's worth, your code works fine on my mac:
R> ... your code ...
R> fun()
[1] 2 3 4 5 6 7 8 9 10 11
R> sessionInfo()
R version 2.13.0 Patched (2011-05-11 r55852)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
...
Also:
$ g++ --version
i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
...
I'm not sure how helpful that is, though, as it seems my system is a
bit different than your advisor's.
For instance, I'm running snow leopard (10.6), where it seems your
advisor is running Leopard (10.5)
I'm also running in 64bit mode, and your advisor is running 32bit. I'm
not sure if that's a big difference, but maybe he can force R to run
in 64bit as a test?
Oh .. I'm also running R 2.13.0 (Patched), which you can get here:
http://r.research.att.com/
In the row of that yellow table named "R-2.13-branch"
-steve
> ++++++++++
>
> platform ??????i386-apple-darwin9.8.0
> arch ??????????i386
> os ????????????darwin9.8.0
> system ????????i386, darwin9.8.0
> status
> major ?????????2
> minor ?????????13.0
> year ??????????2011
> month ?????????04
> day ???????????13
> svn rev ???????55427
> language ??????R
> version.string R version 2.13.0 (2011-04-13)
>
[snip]
>> system("g++ --version")
> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. ?There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
--
Steve Lianoglou
Graduate Student: Computational Systems Biology
?| Memorial Sloan-Kettering Cancer Center
?| Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact