Advanced Designer Learning Path is now live! Read More

Rpy2 cannot import dataiku R library

Level 1
Rpy2 cannot import dataiku R library

When I run 




It returns the error:

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

rpy2 2.8.5
python 3.7
R 3.6.0
dataiku 6.0.0

0 Kudos
2 Replies

Hello, did you try to reinstall RJSONIO? After doing so please reinstall the dataiku library as well and confirm that it was loaded correctly.

0 Kudos
Level 1


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



0 Kudos
A banner prompting to get Dataiku DSS