Integration of R with Java

0 votes
I am building a java Application which would take data from the user and build the desired predictive model on top of it, but i'm finding it difficult to implement the machine learning algorithms in Java. So, is there an API which helps me to connect to R so that i can use the code directly?
Apr 3, 2018 in Data Analytics by nirvana
• 3,060 points
98 views

2 answers to this question.

0 votes

There is one such Java/R interface which allows you to run R inside Java applications.

You can go through the below link to learn more about JRI:

https://www.rforge.net/JRI/

answered Apr 3, 2018 by Bharani
• 4,560 points
0 votes

there is a package called rjava that helps you do this:

rjava - Low-level interface to Java VM very much like .C/.Call and friends. Allows creation of objects, calling methods and accessing fields

answered Dec 4, 2018 by Kalgi
• 51,890 points

Related Questions In Data Analytics

0 votes
1 answer

How to write a custom function which will replace all the missing values in a vector with the mean of values in R?

Consider this vector: a<-c(1,2,3,NA,4,5,NA,NA) Write the function to impute ...READ MORE

answered Jul 4, 2018 in Data Analytics by CodingByHeart77
• 3,710 points
812 views
0 votes
1 answer
0 votes
1 answer

Big Data transformations with R

Dear Koushik, Hope you are doing great. You can ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
151 views
0 votes
2 answers

Filtering R data-frame with multiple conditions

librarry(dplyr) dataset >%> filter((a ==1,b>15 ) | (a==2,b&g ...READ MORE

answered Aug 8, 2019 in Data Analytics by anonymous
26,130 views
0 votes
2 answers

Transforming a key/value string into distinct rows in R

We would start off by loading the ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
185 views
0 votes
1 answer

Finding frequency of observations in R

You can use the "dplyr" package to ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
1,567 views
0 votes
1 answer

Left Join and Right Join using "dplyr"

The below is the code to perform ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
231 views
0 votes
1 answer

Plotting multiple graphs on the same page in R

If you want to plot 4 graphs ...READ MORE

answered Mar 27, 2018 in Data Analytics by Bharani
• 4,560 points
157 views
+1 vote
3 answers

Integration of Google Collaboratory with github

You can use SSH protocol to connect ...READ MORE

answered Aug 7, 2018 in Data Analytics by Kalgi
• 51,890 points
1,651 views
+1 vote
3 answers

Problem with installation of Wordcloud in anaconda

Using Anaconda Python 3.6 version For Windows ...READ MORE

answered Aug 7, 2018 in Data Analytics by Priyaj
• 57,550 points
8,087 views