[graalvm-users] Polyglot bug
Stepan
stepan.sindelar at oracle.com
Wed Aug 15 11:00:02 PDT 2018
Hi Rodrigo,
thank you for reporting this. I can confirm that it is a bug. The fix
will be soon merged to the development version and will be included in
the next public release.
Best,
Stepan
On 14/08/18 18:54, Rodrigo Botafogo wrote:
> Hello....
>
> I've being posting bugs here... should I do it here or is it better to
> go to the issues in github?
>
> This works fine in Gnu R:
>
> > pl = list("ggplot2")
> > do.call("library", pl)
>
> But doing:
>
> pl = Polyglot.eval("R", "list").call("ggplot2")
> Polyglot.eval("R", "do.call").call("library", pl)
>
> Crashes with:
>
> com.oracle.truffle.r.runtime.ffi.DLL$DLLException: package 'init' method
> failed
> at
> com.oracle.truffle.r.runtime.ffi.DLL$LoadPackageDLLNode.execute(DLL.java:581)
> at
> com.oracle.truffle.r.nodes.builtin.base.DynLoadFunctions$DynLoad.doDynLoad(DynLoadFunctions.java:77)
> at
> com.oracle.truffle.r.nodes.builtin.base.DynLoadFunctionsFactory$DynLoadNodeGen.execute(DynLoadFunctionsFactory.java:46)
> at
> com.oracle.truffle.r.nodes.builtin.RBuiltinNode$Arg4.call(RBuiltinNode.java:213)
> at
> com.oracle.truffle.r.nodes.builtin.InternalNode$InternalCallNode.execute(InternalNode.java:233)
>
> Thanks...
>
> --
> Rodrigo Botafogo
>
>
>
> _______________________________________________
> GraalVM-Users mailing list
> GraalVM-Users at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/graalvm-users
>
More information about the GraalVM-Users
mailing list