[Fedora-r-devel-list] problems while building R-rJava

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
    while chasing the several dependencies to build R-Sim-DiffProc I had
to build R-rJava, at moment that is failing while testing the examples.
Are there any suggestions to overcome this?

* checking examples ... ERROR
Running examples in 'rJava-Ex.R' failed
The error most likely occurred in:


> ### Name: J
> ### Title: High level API for accessing Java
> ### Aliases: J
> ### Keywords: interface
>
> ### ** Examples
>
> ## Don't show:
> .jinit()
[1] 0

> ## End Don't show
>
> if (!nzchar(Sys.getenv("NOAWT"))) {
+   f <- new(J("java.awt.Frame"), "Hello")
+   f$setVisible(TRUE)
+ }
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "newInstance",
.jfindClass(class),  :
  java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation
which requires it.
Calls: new -> new -> .J -> .jcall -> .jcheck -> .Call
Execution halted
error: Bad exit status from /tmp/rpmbuild/rpm-tmp.DdN0bT (%check)


Regards,

-- 
José Matos

_______________________________________________
r-devel mailing list
r-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/r-devel



[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux