Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.RuntimeException: com.oracle.truffle.r.runtime.RInternalError: not implemented: unexpected SEXPTYPE PROMSXP #190

Open
lemmy opened this issue Jul 13, 2021 · 6 comments
Labels

Comments

@lemmy
Copy link

lemmy commented Jul 13, 2021

markus@banana:/opt/graalvm/graalvm-ce-java16-21.1.0$ head Some.csv
trace#level#P#C#B#over#under
1#4#1#1#8#1#0
1#12#2#2#256#2#0
1#11#1#1#16#1#0
1#14#2#2#256#2#0
1#17#2#2#2#1#0
2#13#2#2#32#2#0
2#21#2#2#1#1#0
1#14#2#2#4#1#0
2#56#4#4#16#4#0
data <- read.csv(header=TRUE, sep = "#", file = "Some.csv")
library(dplyr)
data %>% group_by(P,C,B) %>% summarise(mean_level = mean(level))
markus@banana:/opt/graalvm/graalvm-ce-java16-21.1.0$ uname -a
Linux banana 5.8.0-59-generic #66~20.04.1-Ubuntu SMP Thu Jun 17 11:14:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
markus@banana:/opt/graalvm/graalvm-ce-java16-21.1.0$ bin/java -version
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment GraalVM CE 21.1.0 (build 16.0.1+9-jvmci-21.1-b05)
OpenJDK 64-Bit Server VM GraalVM CE 21.1.0 (build 16.0.1+9-jvmci-21.1-b05, mixed mode, sharing)

fastr_errors_pid106142.log

@lemmy lemmy added the bug label Jul 13, 2021
@Akirathan
Copy link
Contributor

Hi Lemmy, thanks for the report. This is a well-known bug. As noted in CHANGELOG.md, we recently switched to a newer version of MRAN snapshot, which contains dplyr version 1.0.3, and support for this version of dplyr is a work in progress.

@nikola-arcadis
Copy link

When can can we expect this to be fixed? dplyr library is quite commonly used. It's been a year opened.

@Akirathan
Copy link
Contributor

Hi @nnikolic-arcadis, thanks for the notification. I am currently working on a PR that fixes this issue, I expect it to be merged within 2 weeks. Once it is merged, I will close this issue. Note, however, that dplyr will not be fully supported, i.e., on my PR, many dplyr tests run successfully, but there are dozens that are ignored because of other compatibility issues with FastR.

@nikola-arcadis
Copy link

Thanks for the update. Looking forward to see stable and production ready release.

@steve-s
Copy link
Member

steve-s commented Sep 13, 2022

Hello @nnikolic-arcadis,

please note that @Akirathan's work will only fix this specific issue. We have limited resources and pushing for more complete compatibility with this dplyr version is not at the top of our list at this point. Regarding stable and production ready release of FastR, there is still significant amount of work to reach this goal, so there are no immediate plans for a production release.

@nikola-arcadis
Copy link

I understand. Thanks for the effort.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants