added some R packages + cleaned up a bit

also bumped java version