CXXR is currently released only in source (.tar.gz) form: the current release is 0.27-2.10.1. Earlier releases, as well as the 'bleeding edge' development version, can be obtained from the Subversion repository; see the refactoring history for what has changed from release to release. Note for Subversion users regarding 0.26-2.10.1 and later: if you svn update a working directory which previously contained 0.25-2.9.2 or earlier it is necessary 'manually' to delete the directories library/*/R-ex beneath trunk; otherwise make check will glean examples from obsolete manual pages.

As of release 0.12-2.6.2, CXXR makes some use of the Boost libraries, available from www.boost.org. Boost is available as a package as part of many Linux distributions. It is available in prepackaged form for Mac OS from www.macports.org.

To build CXXR, follow the instructions in the INSTALL file in the top-level directory. Then invoke CXXR by running bin/R from within the build directory; the usual R options are available. At this early stage of development, installing CXXR is definitely not recommended - it would overwrite your standard R installation - and consequently make install will simply give a warning message and fail.

Platform-specific notes

(all on 32-bit Intel, unless otherwise stated):

Microsoft Windows
CXXR has not yet been ported to any flavour of Windows: sorry! (Volunteers welcome!)
Linux: Fedora 9 using gcc 4.3.0
Builds and checks OK (using packages gcc-4.3.0-8, glibc-2.8-8, libstdc++-4.3.0-8).
Linux: openSUSE 10.3 using gcc 4.2.1
Builds and checks OK (using packages gcc-4.2-24, glibc-2.6.1-18.3). However, some checks may fail with C++ optimisation level -O2.
Linux: openSUSE 11.2 using gcc 4.4.1
(Using packages gcc-4.4-4.2, glibc-2.10.1-10.5.1) This is currently my main development platform. Builds and checks OK. make check-devel OK.
Linux: Ubuntu 8.10 using gcc 4.3.2
Builds and checks OK (using packages gcc 4.3.2-1ubuntu11, libc6 2.8~20080505-0ubuntu9, libstdc++6 4.3.2-1ubuntu12).
Mac OS X 10.4.11 using Xcode 2.5 (gcc 4.0.1), Intel processor
Formerly built OK (thanks to Jochen Laubrock for reporting this). Not recently checked, but see the next item for workarounds that will almost certainly be necessary.
Mac OS X 10.5.4 using gcc 4.3.3, Intel processor
Can be made to build and check OK. However, note that tr1::unordered_map included with gcc 4.0.1 is broken; this is the version of gcc supplied with Xcode at the current release 3.1.3. For CXXR to build, it is necessary to use a later version of gcc, such as the gcc43 package of MacPorts; some tweaking (not yet handled by autoconf, sorry!) is then necessary for the CXXR build process to use the right compilers and the right libraries.
SunOS 5.9 on Sparc using gcc 4.2.1 and GNU make
connections.cpp (and possibly other files) fail to compile owing to an inconsistency vis-à-vis the system header files. Let me know if this causes you problems; otherwise fixing it is low priority.

Preprocessor variables

The file src/include/CXXR/config.hpp can be edited to define (or leave undefined) various C/C++ preprocessor variables, which configure debugging and optimisation options. Refer the the doxygen documentation of this file for further information.