Rev 6460 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
INSTALLYou need R built and installed as a framework: see the 'R Installationand Administration Manual'. A CRAN binary install of R suffices.Building R.app================Only Mac OS X 10.6 and higher are supported, and only 64-bit R. Theproject is called "R.xcodeproj" and requires Xcode 3.2 or higher.The project can be built by selecting "R" target and "Build" insidethe XCode GUI.Supported configurations are:SnowLeopard64 (release, current OS X, default)Lion64 (release, OS X 10.7+, Xcode 4.5+)MLion64 (release, OS X 10.8+, Xcode 4.5+)Debug (with debugging output, current OS X)The configurations differ mainly in the SDK selected (recent versionsof Xcode only support the current and immediately previous SDKs, sofor example in Mar 2013 the default would build for 10.8, butconfiguration Lion64 allows building for >= 10.7).To build the project from the command line in the Mac-GUI directoryuse something like:xcodebuild -target R -configuration SnowLeopard64To build the R for Mac OS X FAQ use eitherxcodebuild -target Docsor manually in docs foldermakeinfo -D UseExternalXrefs --html --force --no-split RMacOSX-FAQ.texiThe resulting html FAQ file will be found in Mac-GUI/docs directory.Note about binary compatibility:The general rules for R apply, that is binary compatibility is givenonly if the major and minor version numbers match - only the patchlevel may differ. When using the X.Y.Z version form it means that X.Ymust match. For example R-GUIs linked to 3.0.x and 3.1.x are NOTbinary compatible.The compiled R.app is usually bound to a specific version, such as3.0.1. If you upgrade R removing the older version, let's say usingR.app built for 3.0.0 and updating R to 3.0.1, you may need to fix theabsolute path to libR.dylib. The nightly builds use a generic path/Library/Frameworks/R.framework/Resources/lib/libR.dylib which pointsto the latest version of R, but this is done by an additional call toinstall_name_tool in the building script. Release versions of the GUIuse a fixed-version path as they come with a specific R version (in factthe default behavior doesn't depends on the GUI, but on libR.dylib -changing its own reference entry changes the way R.app is linked).--Last update: 2013-03-08