Fullscreen
Loading...
 
Imprimir Comparte esta página

ROOTR Cling Installing

Image


To install ROOTR you should read
http://root.cern.ch/drupal/content/installing-root-source(external link) and
http://root.cern.ch/drupal/content/build-prerequisites(external link)

Index




Compiling ROOTR on Mac with CMake:

NOTE: Mac OSX Yosemite last xcode and without macports

Prerequisities

- xcode
- http://xquartz.macosforge.org/(external link)
- R last version http://cran.rstudio.com/bin/macosx/R-3.1.3-mavericks.pkg(external link)
- http://www.cmake.org/files/v3.2/cmake-3.2.1-Darwin-x86_64.dmg(external link)

To compile with cmake added into ~/.profile
export PATH=$PATH:/Applications/CMake.app/Contents/bin/

and
source ~/.profile


Install needed R packages, open R and in the prompt type
install.packages(c('Rcpp','RInside'))

select a mirror and install.


Download code from git repo
git clone -b master-root-R  https://github.com/lmoneta/root.git



To compile ROOTR lets to create a compilation directory and to activate it use cmake -Dr=ON ..
mkdir compile
cd compile
cmake -Dr=ON ..
make -j n



This is a basic video using ROOTR



Compiling ROOTR on Gnu/Linux with CMake:

NOTE: Tested on Gnu/Linux Debian Jessie with gcc 4.9

Prerequisities

Addtionally install
(For debian-based distros)
#apt-get install r-base r-base-dev



Install needed R packages, open R and in the prompt type
install.packages(c('Rcpp','RInside'))

select a mirror and install.


Download code from git repo
git clone -b master-root-R  https://github.com/lmoneta/root.git



To compile ROOTR lets to create a compilation directory and to activate it use cmake -Dr=ON ..
mkdir compile
cd compile
cmake -Dr=ON ..
make -j n