I am a Java and R beginner. My task is very simple. I want to put a value from Java to R. Then in R, sum the input value with one and pass the back to Java and display the value.
How? Can anyone help?
JRI is a good place to start. It provides the ability to run R inside of a java program. Once you have it downloaded you'll want to read the README as it gives installation instructions. There are some examples in the /examples folder provide with JRI that walk you through the creation of the R Engine and shows you how to do some simple tasks. I've never personally used it but this looks to be like what you're looking for.