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.
(all on 32-bit Intel, unless otherwise stated):
gcc-4.3.0-8,
glibc-2.8-8, libstdc++-4.3.0-8).gcc-4.2-24,
glibc-2.6.1-18.3). However, some checks may fail with C++
optimisation level -O2.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.gcc 4.3.2-1ubuntu11,
libc6 2.8~20080505-0ubuntu9, libstdc++6
4.3.2-1ubuntu12).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.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.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.