Questions tagged [rcaller]

RCaller is a LGPL'ed library for calling R from Java. It is easy to use, practical and handy tool. It is in-efficient by means of CPU time, memory efficiency and some other issues.

52 questions
0
votes
2 answers

RCaller: same code working in rstudio not in rcaller

I'm using RCaller in order to call R from java programs The pc where I'm trying to call R by using RCaller can't access to Internet; now I have this situation: from Java I write me R code and, by using RCode I add this code to R; the generated code…
Angelo Immediata
  • 6,635
  • 4
  • 33
  • 65
0
votes
0 answers

Error under the following program to write R Script separately

Calling R in java-Rcaller After following above link I've created new "myScript.R" seperately. Please tell me that it is showing "save workspace" for saving. I've saved it as file with .R extension. Please correct me if I'm wrong. I'm recieving the…
Aman Chawla
  • 304
  • 3
  • 8
  • 23
0
votes
3 answers

Error under bridge between R and Java

I got the below code from the following website bridge connection between R and Java using Rcaller http://www.mhsatman.com/rcaller.php Running it under NETBEANS IDE on Windows shows the following warning: …
Aman Chawla
  • 304
  • 3
  • 8
  • 23
0
votes
1 answer

get character from r to java use rcaller

The results in R is character or describe.I want to get the resule from R then into Java.I use RCaller. I use the code below is not works. code.clear(); code.addRCode("c1<-factor(describe(1:10)$counts)"); …
Weiqi Wang
  • 29
  • 4
-1
votes
1 answer

rcaller how to pass the row names in coefficients matrix in linear model

Assume simple linear model : Stay ~ Diet + Smoke + Diet:Smoke The problem is to pass the dimension names in the matrix of coefficients (borders). skrypt in R: (syntaks.txt) BaseFrame=read.csv("DietSmoke.txt") modd<-glm(Stay ~ Diet + Smoke +…
-1
votes
1 answer

How does java generate R boxplot via RCaller?

I want to generate a R boxplot by using rcaller with java. My code is : try { RCaller caller = new RCaller(); caller.setRExecutable("/usr/bin/R"); caller.setGraphicsTheme(new DefaultTheme()); RCode code = new…
-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
4