Hello, Will RcppEigen be available on MacOS X soon? Currently, the CRAN page says that it is not be available on MacOS X: http://cran.r-project.org/web/packages/RcppEigen/index.html I have been informed that it compiles fine on an Intel machine and that the issue is probably PowerPC related. I intend to use RcppEigen as part of a package that must work on all platforms. Thank You, Slava
Will RcppEigen be available on MacOS X?
4 messages · Dirk Eddelbuettel, Steve Lianoglou, Slava Razbash
(My reply will probably bounce at r-sig-mac where I am not subscribed.) Slava,
On 21 December 2011 at 12:26, Slava Razbash wrote:
| Hello, | | Will RcppEigen be available on MacOS X soon? Currently, the CRAN page | says that it is not be available on MacOS X: | http://cran.r-project.org/web/packages/RcppEigen/index.html | | I have been informed that it compiles fine on an Intel machine and | that the issue is probably PowerPC related. As discussed in earlier emails, this is somewhat complicated. On the one hand, it is a bit of a "Simon" issue at CRAN as Simon (whom I added as a CC) only admits packages that build on OS X for 32 and 64 bit Intel as well as ppc, and Eigen fails to crosscompile for ppc. So no go there. Eigen's upstream is also not in a position to fix things, and understandably reluctant to cater for an outdated and known-as-buggy compiler, ie g++-4.2.1. Rock, meet hard place: We're stuck. So something has to change for this to improve. Either we manage to petition Simon to whitelist packages even if they do not produce 'three architecture' fat binaries. Or else we all have to wait clang/llvm support for C++ on OS X which may be a while. | I intend to use RcppEigen as part of a package that must work on all platforms. The package works. As Romain told you again this morning, you can always build RcppEigen from source on OS X. Regards, Dirk | Thank You, | | Slava
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too dark to read." -- Groucho Marx
Hi,
On Tue, Dec 20, 2011 at 8:26 PM, Slava Razbash <slava.razbash at gmail.com> wrote:
Hello, Will RcppEigen be available on MacOS X soon? Currently, the CRAN page says that it is not be available on MacOS X: http://cran.r-project.org/web/packages/RcppEigen/index.html I have been informed that it compiles fine on an Intel machine and that the issue is probably PowerPC related. I intend to use RcppEigen as part of a package that must work on all platforms.
This is an interesting something.
Firstly, assuming you have XCode installed, you can install RcppEigen by:
R> install.packages("RcppEigen", type="source")
and it compiles fine.
It is interesting because there are other projects (outside of the R
universe) that use Eigen, but can't be compiled on OS X w/o using a
more modern version of gcc than OS X uses.
I probed the authors of that (other) library to see what gives, but
they essentially pointed out that even the Eigen devs suggest to use a
newer version of gcc, even though their main page only suggest gcc 4.2
or newer.
See:
http://forum.kde.org/viewtopic.php?f=74&t=97107&p=204676&hilit=eigen+mac#p204676
-steve
Thank You, Slava
_______________________________________________ R-SIG-Mac mailing list R-SIG-Mac at r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
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
Dirk,
On Wed, Dec 21, 2011 at 12:39 PM, Dirk Eddelbuettel <edd at debian.org> wrote:
(My reply will probably bounce at r-sig-mac where I am not subscribed.) Slava, On 21 December 2011 at 12:26, Slava Razbash wrote: | Hello, | | Will RcppEigen be available on MacOS X soon? Currently, the CRAN page | says that it is not be available on MacOS X: | http://cran.r-project.org/web/packages/RcppEigen/index.html | | I have been informed that it compiles fine on an Intel machine and | that the issue is probably PowerPC related. As discussed in earlier emails, this is somewhat complicated. On the one hand, it is a bit of a "Simon" issue at CRAN as Simon (whom I added as a CC) only admits packages that build on OS X for 32 and 64 bit Intel as well as ppc, and Eigen fails to crosscompile for ppc. ?So no go there. Eigen's upstream is also not in a position to fix things, and understandably reluctant to cater for an outdated and known-as-buggy compiler, ie g++-4.2.1. Rock, meet hard place: We're stuck. So something has to change for this to improve. ?Either we manage to petition Simon to whitelist packages even if they do not produce 'three architecture' fat binaries. ?Or else we all have to wait clang/llvm support for C++ on OS X which may be a while.
I am currently pursuing an alternative course of action. Thanks. Best Regards, Slava
| I intend to use RcppEigen as part of a package that must work on all platforms. The package works. ?As Romain told you again this morning, you can always build RcppEigen from source on OS X. Regards, ?Dirk | Thank You, | | Slava -- "Outside of a dog, a book is a man's best friend. Inside of a dog, it is too dark to read." -- Groucho Marx