RInScala example