oracle / fastr

A high-performance implementation of the R programming language, built on GraalVM.
Other
623 stars 64 forks source link

Warning message in FastR not present in Gnu R #20

Closed rbotafogo closed 5 years ago

rbotafogo commented 6 years ago

The following code works fine in Gnu R:

library('dplyr') ex = parse(text = ('cyl == 8')) filter(mtcars, eval(ex))

In FastR it also works but gives the following warnings:

Warning messages: 1: SET_ATTRIB: tag in the attributes pairlist must be a symbol. NULL given. 2: SET_ATTRIB: tag in the attributes pairlist must be a symbol. NULL given.

rbotafogo commented 6 years ago

Now the following code works in Gnu R but does not work in FastR

library('dplyr') library('nycflights13')

ex = parse(text = ("month == 1 & day == 1")) filter(flights, eval(ex))

In FastR I get:

Warning messages: 1: SET_ATTRIB: tag in the attributes pairlist must be a symbol. NULL given. 2: SET_ATTRIB: tag in the attributes pairlist must be a symbol. NULL given. Error: Can't bind data because it is not uniquely named In addition: Warning message: SET_ATTRIB: tag in the attributes pairlist must be a symbol. NULL given.

steve-s commented 6 years ago

Hi Rodrigo,

thanks for the report. There are some known problems with dplyr also tracked by #13. We are planning to tackle them soon.

steve-s commented 5 years ago

Hi Rodrigo,

this concrete example should work with the current development version and in the next release (RC10). We're not passing all the dplyr tests, but getting closer.