[R-SIG-Mac] C++ and Mavericks
It was not clear from any of the documentation that Xcode 5.0.1 for 10.8 and for 10.9 use (by default) essentially separate C++ toolchains. Both are based on clang++ 3.3svn which is Apple parlance for 'some version less than 3.3 and lacking some 3.2 features'. But they have different headers and C++ libraries. - 10.8 is using those from g++ 4.2.1 - 10.9 is using those from libcxx. This means that they are not completely ABI-compatible, and any package with C++ linkage (e.g. packages rgdal and rzmq) may need the external software recompiled. [NB: clang++ vs g++ were ABI compatible in 10.8. And 'may' not 'will'.] 10.9 contains a back-compatibility libstdc++, and most binary packages using C++ still work. However, at least for me JAGS (and hence packages rjags and runjags) and BioC package mzR segfault. I successfully re-compiled JAGS and rjags from their sources, but mzR will not compile. There are about 35 C++-based CRAN packages which do not compile using clang++ plus libcxx. The usual issues: g++ headers include other headers not required by the standards which other implementations do not, g++ uses 'tr1' for headers where libcxx does not, and more comprehensive implementations result in ambiguous matches. -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
[R-SIG-Mac] Cairo / X11 problem in Mavericks
I just upgraded my macbook to maverick and i'm running into an old problem. When I do: png(tempfile(), type=cairo) or svg(tempfile()) or even: library(Cairo) R exists with a warning that X11 is required. I also tried: options(bitmapType = 'cairo') png(tempfile()) but same result. If I recall correctly this was not the case in OSX 10.8. Is there any way to use png() or svg() on Mavericks without installing xquartz? [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Cairo / X11 problem in Mavericks
On 27/10/2013 19:45, Jeroen Ooms wrote: I just upgraded my macbook to maverick and i'm running into an old problem. When I do: png(tempfile(), type=cairo) or svg(tempfile()) or even: library(Cairo) R exists with a warning that X11 is required. I also tried: options(bitmapType = 'cairo') png(tempfile()) but same result. If I recall correctly this was not the case in OSX 10.8. It was. You need to re-install XQuartz after an update. See the R-admin manual. Is there any way to use png() or svg() on Mavericks without installing xquartz? png() yes: use the quartz-based device. [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac -- Brian D. Ripley, rip...@stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Trouble installing R packages from source on Mavericks
After updating to Mavericks you need the new Xcoe developer tools under Xcode - Xcode Developer tools - Other Xcode Developer tools. Have you done this? Best Simon On 27 Oct 2013, at 23:05, Claymore M c1aym...@hotmail.com wrote: ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Trouble installing R packages from source on Mavericks
Many thanks!!! Downloading and installing the additional Command Line Tools (OS X Mavericks) for Xcode - Late October fixed the problems. Subject: Re: [R-SIG-Mac] Trouble installing R packages from source on Mavericks From: szehn...@uni-bonn.de Date: Sun, 27 Oct 2013 23:15:04 +0100 CC: r-sig-mac@r-project.org To: c1aym...@hotmail.com After updating to Mavericks you need the new Xcoe developer tools under Xcode - Xcode Developer tools - Other Xcode Developer tools. Have you done this? Best Simon On 27 Oct 2013, at 23:05, Claymore M c1aym...@hotmail.com wrote: [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac