Hello,

  Any idea why trying to obtain System.out in rJava does not work?

> library(rJava)
> .jinit()
> s <- .jnew("java/lang/String", "Hello World!")
> .jcall(s,"I","length")
[1] 12
> systemOut <- .jfield("java/lang/System", "Ljava/io/PrintStream", "out")
Error in .jfield("java/lang/System", "Ljava/io/PrintStream", "out") :
  RgetField: field out not found

  Thanks!

     Take care
     Oliver

-- 
Oliver Ruebenacker
Bioinformatics Consultant (http://www.knowomics.com/wiki/Oliver_Ruebenacker)
Knowomics, The Bioinformatics Network (http://www.knowomics.com)
SBPAX: Turning Bio Knowledge into Math Models (http://www.sbpax.org)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to