How to return List<String> from java to R (with rjava package)? -


i know how call java code strings, integers or java objects calling list of strings ?

in document https://cran.r-project.org/web/packages/hellojavaworld/vignettes/hellojavaworld.pdf there table of how call types can find abbreviation lists.

my function in java

public list<string> getobjnames() {         return this.obj;         } 

i need call function rstudio rjava package. r code:

list <- function (mydata){          hjw <- .jnew("fcamp/util/datareader/jsondatareader")          outref2 <- .jcall(hjw, "lfcamp/input/context;", "readdata", evalstring = t, mydata)          result <- .jcall(outref2, "???", "getobjnames", evalstring = false)          return(result)          } 

have ever seen abbreviation or document supposed use instead of "???"

thanks advice :)


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -