Rpy2 cannot import dataiku R library
khalidnajm
Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 4 ✭✭✭
When I run
RRuntimeError: Error: package or namespace load failed for 'dataiku':
package 'RJSONIO' was installed by an R version with different internals; it needs to be reinstalled for use with this R version
It returns the error:
robjects.r('library(dataiku)')
RJSONIO 1.3
rpy2 2.8.5
python 3.7
R 3.6.0
dataiku 6.0.0
Answers
-
Hello, did you try to reinstall RJSONIO? After doing so please reinstall the dataiku library as well and confirm that it was loaded correctly.
-
Hello,
Sorry for the late reply.
I wouldn't have been to do that because the RJSONIO version is fixed (see below). Instead, I decided to leave rpy2 and write everything in a separate R endpoint.
# These packages cannot be removed nor reversioned "dplyr", "httr", "RJSONIO","1.3" "gtools", "base64enc", "curl","2.4" "IRkernel",
-
jvijayakumar2 Partner, Dataiku DSS Core Designer, Dataiku DSS Adv Designer, Registered Posts: 30 Partner
Do we have a solution to this issue? I have the same