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?

Answers


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

How to display metals in usd currency only

php simplexml

I'm quite new to xml and php and i have trouble how to display metals in usd currency only from xml feed in an external url http://www.xmlcharts.com/cache/precious-metals.php

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.