[graalvm-users] How to remove/opearte on an R vector through Interop?
Rodrigo Botafogo
rodrigo.a.botafogo at gmail.com
Fri Jun 15 04:06:45 PDT 2018
Hello,
I’ve created a vector:
var = R.c("Hello", "beautiful", "world!")
and I want to remove the second element of the vector. From the
documentation it seems like:
var = var.delete(1)
should work, but it doesn’t. Also, in R there are many ways to filter data
in a vector. For example:
var[c(1, 2)]
>> [1] "Hello" "beautiful"
this does not work either with Interop
del = R.c(1, 2)
var[del]
Is there any way to send a message to ‘[]’?
Thanks
--
Rodrigo Botafogo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/graalvm-users/attachments/20180615/fd2f4ac5/attachment-0001.html
More information about the GraalVM-Users
mailing list