Removed R files. Changing to Java.