[R] Testing installed package of rJava in Linux
Stephen Connolly
stephen at jsidata.ca
Wed Mar 9 20:24:56 CET 2016
The variable DISPLAY is what is causing problems. Run the command 'unset
DISPLAY' before running R .
Stephen
On 09/03/16 01:06 PM, Uwe Ligges wrote:
> I do not get this: If it works it is OK to use it. If it does not work,
> you can't....
>
> Best,
> Uwe Kigges
>
>
>
>
>
> On 09.03.2016 17:44, Santosh wrote:
>> Thanks for your response. Since the test failed due to X11 connectivity
>> reasons, is it okay to use it in applications where X11 server
>> connectivity
>> is not required?
>> Thanks and much appreciated,
>> Santosh
>>
>> On Tue, Mar 8, 2016 at 10:41 PM, Uwe Ligges
>> <ligges at statistik.tu-dortmund.de
>>> wrote:
>>
>>>
>>>
>>> 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.
>>>>
>>>>
>>
>> [[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.
>>
>
> ______________________________________________
> 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