Skip to content
Snippets Groups Projects
Select Git revision
  • 6827bc53a9dfe78bb8fbc5d996ca92b80addb2e9
  • master default protected
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.3
  • 0.0.2
  • 0.0.1
10 results

gemimeg-backend

  • Clone with SSH
  • Clone with HTTPS
  •       __ __             ___      
         /\ \\ \           /\_ \     
     _ __\ \ \\ \    __  __\//\ \    
    /\`'__\ \ \\ \_ /\ \/\ \ \ \ \   
    \ \ \/ \ \__ ,__\ \ \_/ | \_\ \_ 
     \ \_\  \/_/\_\_/\ \___/  /\____\
      \/_/     \/_/   \/__/   \/____/
                                     

    Collection of R-scripts and functions for vaclab

    Install

    The following R-packages are needed:

       rJava
       xlsxjars
       xlsx    
       knitr   
       methods 
       bitops  
       RJSONIO 
       RCurl   
       R4CouchDB

    To install bitops and RCurl one need to install

        zypper in gcc-c++ R-base-devel libcurl-devel 

    A java installation is needed for xlsx. It turned out to be a good idea to

        zypper in java-1.7.0-openjdk java-1.7.0-openjdk-devel

    followed by

        R CMD javareconf

    in the directory /usr/lib/R/library. Afterwards (at least here) I could install the xlsx stuff.

    r4vl

       cd /usr/local/lib 
       git clone github_or_gitlab/r4vl.git 

    Thats it.

    Task

    The Tasks look like this:

      {
        "Action": "/usr/bin/Rscript",
        "Comment": "Berechnet die p_cal & u(p_cal)",
        "TaskName": "CE3_calculate",
        "Value": [
            "/usr/local/lib/r4vl/map.R",
            "scripts/analyse_CE3_YAMP.R"
        ]
       }