Changes between Version 17 and Version 18 of udg/ecoms/RPackage/prerequisites


Ignore:
Timestamp:
Jan 19, 2016 3:10:17 PM (7 years ago)
Author:
gutierjm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/RPackage/prerequisites

    v17 v18  
    2323= Installing the `rJava` package
    2424
    25 [http://cran.r-project.org/web/packages/rJava/index.html rJava] is a R package providing a low-level interface to Java from R. If Java is installed and adequately configured in your computer, the `rJava` package will be automatically downloaded if not present when installing the `loadR` package, as any other package dependency.
    26 
    27 Therefore, in principle you should not worry about this and could skip this section. But just in case something related to `rJava` goes wrong during the installation, please bear in mind the following information:
    28 
    29 Once Java is installed in your machine, in most cases the following call from R should do the trick:
    30 
     25[http://cran.r-project.org/web/packages/rJava/index.html rJava] is a R package providing a low-level interface to Java from R. If Java is installed and adequately configured in your computer, the `rJava` package will be automatically downloaded if not present when installing the `loadR` package, as any other package dependency. `rJava` can be also installed directly by:
    3126{{{
    3227#!text/R
     
    3429}}}
    3530
     31Once `rJava` is installed, you may want to know the characteristics of the java version used by R:
     32{{{#!text/R
     33library(rJava)
     34.jinit()
     35[1] 0
     36.jcall("java/lang/System", "S", "getProperty", "java.vendor")
     37[1] "Oracle Corporation"
     38.jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
     39[1] "1.7.0-b147"
     40.jcall("java/lang/System", "S", "getProperty", "os.arch")
     41[1] "x86"
     42}}}
     43
     44
     45Therefore, in principle you should not worry about this and could skip this section. But just in case something related to `rJava` goes wrong during the installation, please bear in mind the following information:
    3646
    3747=== Linux
     
    121131
    122132
    123 
    124 = Find out the java version used by R
    125 
    126 Once `rJava` is installed, you may want to know the characteristics of the java version used by R:
    127 
    128 {{{#!text/R
    129 library(rJava)
    130 .jinit()
    131 [1] 0
    132 .jcall("java/lang/System", "S", "getProperty", "java.vendor")
    133 [1] "Oracle Corporation"
    134 .jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
    135 [1] "1.7.0-b147"
    136 .jcall("java/lang/System", "S", "getProperty", "os.arch")
    137 [1] "x86"
    138 }}}