title: rJava: using java/lang/Vector with a certain template class
body: <p>I'm currently programming an R-script which uses a java .jar that makes use of the java/lang/Vector class, which in this case uses a class in a method that is not native. In java source code:</p>
  
  <pre><code>public static Vector&lt;ClassName&gt; methodname(String param)
  </code></pre>
  
  <p>I found nothing in the documentation of rJava on how to handle a template class like vector and what to write when using jcall or any other method.
  I'm currently trying to do something like this:</p>
  
  <pre><code>v &lt;- .jnew("java/util/Vector")
  b &lt;- .jcall(v, returnSig = "Ljava/util/Vector", method = "methodname",param)
  </code></pre>
  
  <p>but R obviously throws an exception:</p>
  
  <pre><code>method methodname with signature (Ljava/lang/String;)Ljava/util/Vector not found
  </code></pre>
  
  <p>How do I work the template class into this command? Or for that matter, how do I create a vector of a certain class in the first place? Is this possible?</p>