Learn R Programming

Runiversal (version 1.0.2)

makevectorjava: makevectorjava()

Description

This is an utility function for makejava() and not generally be called by user.

Usage

makevectorjava(code, objt, name = "")

Arguments

code
A string which the generated code to be added to.
objt
An R object, to be converted to R code.
name
Variable name for generated Java object. Optional.

Examples

Run this code
x<-1:10
cat(makevectorjava("",x,"x"))

Run the code above in your browser using DataLab