Remove print statements from java code, update R script