[graalvm-users] print.default not being called?
Stepan
stepan.sindelar at oracle.com
Wed Jun 27 09:00:06 PDT 2018
Hi Rodrigo,
sorry for the delayed response.
> pp = R.eval("print")
> pp.call(Polyglot.eval("R", "c(1, 2, 3, 4)"))
>
> give the following error:
>
> Failure/Error: pp.call(Polyglot.eval("R", "c(1, 2, 3, 4)"))
This is a bug, thanks for reporting it. It will be fixed in the
development version soon, but unfortunately, it will not make it to the
next release of GraalVM.
For the time being, you can use this as a workaround:
pp = R.eval("function(x) print(x)")
pp.call(Polyglot.eval("R", "c(1, 2, 3, 4)"))
Best,
Stepan
More information about the GraalVM-Users
mailing list