Changes between Version 11 and Version 12 of RRasdaman


Ignore:
Timestamp:
Dec 18, 2015 2:54:19 PM (22 months ago)
Author:
dmisev
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RRasdaman

    v11 v12  
    55* First of all, you need R installed on your machine:
    66{{{
    7 $ sudo apt-get install r-base r-base-dev
     7#!sh
     8sudo apt-get install r-base r-base-dev
    89}}}
    910
    1011* Install needed R packages {{{rJava}}} and {{{testthat}}} from R prompt:
    1112{{{
    12 $ R --quiet
     13#!sh
     14R --quiet
    1315> install.packages(c("rJava", "testthat"))
    1416}}}
    1517  * In case if error {{{"/usr/bin/ld: cannot find -lpcre (-llzma, -lbz2)"}}} appears, install the following system packages needed for {{{rJava}}}:
    1618{{{
    17 $ sudo apt-get install liblzma-dev libbz2-dev libpcre3-dev
     19#!sh
     20sudo apt-get install liblzma-dev libbz2-dev libpcre3-dev
    1821}}}
    1922
    2023* Get rasdaman code (if not yet) and provide {{{--enable-r}}} flag to the configure script:
    2124{{{
    22 $ ./configure --enable-r
     25#!sh
     26./configure --enable-r
    2327}}}
    2428  Please refer to wiki:Install for more information on how to install rasdaman.
     
    2630* Build and install the package
    2731{{{
    28 $ cd applications/RRasdaman
    29 $ make
    30 $ make install
     32#!sh
     33cd applications/RRasdaman
     34make
     35make install
    3136}}}
    3237
    3338* Check from R session that everything works (requires rasdaman system started):
    3439{{{
    35 $ R
     40#!sh
     41R
    3642> library(RRasdaman)
    3743> conn <- dbConnect(Rasdaman())
     
    4450* Optionally you can run the package tests. This also requires the rasdaman system up and running.
    4551{{{
    46 $ cd applications/RRasdaman
    47 $ make check
     52#!sh
     53cd applications/RRasdaman
     54make check
    4855}}}
    4956