[R] Testing installed package of rJava in Linux

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Mar 9 07:41:18 CET 2016



On 09.03.2016 02:19, Santosh wrote:
> Dear Rxperts..
> I installed rJava on 64-bit Linux system and apparently it installed
> without errors.However, I got the following error message when I tried to
> test the installed package.
>
> ____________________________________________________________________
> Error in .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance",
> .jfindClass(class),  :
>    java.lang.InternalError: Can't connect to X11 window server using ':0' as
> the value of the DISPLAY variable.
> Calls: new -> new -> .J -> .jcall -> .jcheck -> .Call
> Execution halted


Apparently you do not have an X server running or no X forwarding enabled?

Best,
Uwe Ligges


> ____________________________________________________________________
>
> Would highly appreciate your tips/suggestions..
>
> Thanks and much appreciated,
> Santosh
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>



More information about the R-help mailing list