how to pass a rJava .jnew call multiple parameters?

the documentation describes how to pass a single parameter. No worries there. My challenge is trying to pass multiple parameters to java constructors that take them.

For example:

foo <- .jnew("some/java/class/that/takes/two/parameters", ???)

Comma delimiting doesn't work, nor does putting a space between them. How does one do this?


This document explains how to work with different constructors. See section "looking up constructors and methods".

Apparently you have to call the new() function instead of / after .jnew().

I'm also still experimenting...

Need Your Help

Issue with JSON.stringify adding a extra \ and "" to my Json object

javascript arrays json serialization deserialization

Hi I am creating using Javascript an array of object with a key and a value using the following code.

Java Compiler: how should Java language be mapped to JVM instructions?

java compiler-construction

The semantics of constructs in Java language are defined by the Java language specification, but they're not in terms of JVM instructions. So, is there possiblity that the specification is not stri...