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


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

--

Legend:

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

    v18 v19  
    3131Once `rJava` is installed, you may want to know the characteristics of the java version used by R:
    3232{{{#!text/R
    33 library(rJava)
    34 .jinit()
     33> library(rJava)
     34> .jinit()
    3535[1] 0
    36 .jcall("java/lang/System", "S", "getProperty", "java.vendor")
     36> .jcall("java/lang/System", "S", "getProperty", "java.vendor")
    3737[1] "Oracle Corporation"
    38 .jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
     38> .jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
    3939[1] "1.7.0-b147"
    40 .jcall("java/lang/System", "S", "getProperty", "os.arch")
     40> .jcall("java/lang/System", "S", "getProperty", "os.arch")
    4141[1] "x86"
    4242}}}
     
    6666> .jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
    6767}}}
    68 If you are having problems with newly installed Java version please take a look to this:
     68If you are having problems to run R (or RStudio) with a newer installed Java version please take try again opening R (or RStudio) from the terminal (instead of directly clicking on the application icon). Take a look to the following link:
    6969[http://stackoverflow.com/questions/26948777/how-can-i-make-rjava-use-the-newer-version-of-java-on-osx]
    7070
    71 In some cases, the problem is fixed for R but not for RStudio. In this situation, opening RStudio from the terminal may solve the problem.
     71In some cases, after recompiling `RJava` (as user, or sudo) as explained in the previous instructions, the problem is fixed when opening R (or RStudio) from the terminal (instead of directly clicking on the application icon).
    7272{{{
    73 user$ /Applications/RStudio.app/Contents/MacOS/RStudio
     73~$ R
     74}}}
     75or
     76{{{
     77~$ /Applications/RStudio.app/Contents/MacOS/RStudio
    7478}}}
    7579
    76 Take a look also at the following link:
     80Take is also some useful information at the following link:
    7781[https://support.rstudio.com/hc/communities/public/questions/200650933-rJava-fails-to-load-in-RStudio-Desktop-OS-X]
    7882=== Windows
     
    130134
    131135
    132