Example Java Interface to R