Questions tagged [rjava]

rJava is an interface between R and Java.

rJava is an R package providing interfaces between R and Java. As a package rJava allows R code to instantiate a Java VM, create Java objects and call Java methods. It also includes JRI (Java/R Interface) which conversely embeds R into a Java application.

613 questions
-1
votes
1 answer

Shiny Server app Running on Ubuntu 18.04 VM (VirtualBox) having issues with OpenStreetMaps (Java error)

I am new to Shiny Server and not well versed in Linux so bear with me. I'm running Shiny Server on Ubuntu 18.04, which is a virtual machine (VirtualBox). I am employing the OpenStreetMaps package in my app, which uses the rJava package. I had some…
CharityG
  • 71
  • 5
-1
votes
3 answers

Call a method from one class from within another class

I am trying to call the method from one class using a method within a second class (which should return a list), however, the second class method is not being recognised. I don't receive any visible errors or warnings. My first class: import…
user2957945
  • 2,353
  • 2
  • 21
  • 40
-1
votes
1 answer

rJava fails with toStrin

I am using the venneuler package from R to draw Venn diagrams of my data set, which is big (53.6 MB altogether). If this helps, my code is: library(venneuler) albert <- read.table("Albert/proliferating_v_senescent.nucleotides") metilene <-…
con
  • 5,767
  • 8
  • 33
  • 62
-1
votes
1 answer

java.lang.NullPointerException (No Data Viewer Loaded) JGR, Deducer

I'm running Deducer on OSX 10.9.2. I don't know why today I received this error with no Data Viewer: Loading required package: DeducerExtras > java.lang.NullPointerException at org.rosuda.deducer.JGRConnector.idleEval(JGRConnector.java:39) …
Borexino
  • 802
  • 8
  • 26
-1
votes
4 answers

Unable to install rJava

Unable to install rjava package in ubuntu, R version is 3.1. jdk i.7 installed. please share the exact path of java configuration for R. I have already tried javareconf - e to set the env for rjava. Below is the output after rJava installation. …
Imran Ali
  • 48
  • 1
  • 3
-1
votes
1 answer

android doesn't recognise Resources folder after cleaning the project

Hi I had some errors on my project and tried to clean it but after that now all of my files do not recognise anything that it has to do with the Resources folder. What can I do ? I have more than 20 files with errors now. Please help. Any advice…
Nikolas
  • 51
  • 1
  • 2
  • 8
-2
votes
1 answer

How do I install rJava properly on MX Linux

I am trying to install rJava, as it's a dependency of OpenStreetMap (I want to create some maps). However, when trying to install, I get the following error: /usr/bin/ld: cannot find -lpcre2-8 collect2: error: ld returned 1 exit status make[2]:…
Saïd Maanan
  • 511
  • 4
  • 14
-2
votes
1 answer

.onLoad failed in loadNamespace() for 'rJava

I am running Win 10 64-bi with Java version 1.8.0.221. when loading xlsx package I am getting an error in R Studio with version 3.5.2 - also 64-bit. The error is in loading rJava. any thoughts on how can I fix this? I am stuck and can't move…
user3150378
  • 335
  • 1
  • 5
  • 14
-2
votes
1 answer

how to remove error message in mac relate to rJava

I have install rJava package in R and I also install Java 64 bit on my mac but somehow I am keep getting error message when I try to load rJava package. library(rJava) Error: package or namespace load failed for ‘rJava’: .onLoad failed in…
Jay
  • 9
  • 1
  • 7
-2
votes
1 answer

Java version and R version is the same still getting onLoadNamespce Error

library(rJava) Still getting same error: Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: inDL(x, as.logical(local), as.logical(now), ...) error: unable to load shared object
-2
votes
1 answer

How can I activate rJava on macOS?

> library('rJava') Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object…
이영훈
  • 11
  • 2
-3
votes
2 answers

100 syntax errors on tokens in R.java

There is exactly 100 errors in R.java that all say the same error. The error is the following: Syntax error on token "10", delete this token There are red flags everywhere saying not to modify R.java and even when I try to, it prompts me to stop. …
Matt
  • 3,882
  • 14
  • 46
  • 89
-3
votes
1 answer

Integrating Java and R

I was looking for some third party jars to do some advanced analytical process like SQL window functions in Java,since our database mysql did not support it. With the help of google I found "R" though it is not java based but it can solve most of my…
Vinoth S
  • 33
  • 3
1 2 3
40
41