Can't install R packages cause of "lib = "/data/dss_data/R.lib"' is not writable" error

dot101
Level 2
Can't install R packages cause of "lib = "/data/dss_data/R.lib"' is not writable" error

Hello Dataiku guys,
Does anyone know why I have this error message and how to solve it when I try to install a package in an R recipe?
Thanks.

image.png

 

 

 

 

0 Kudos
1 Reply
sergeyd
Dataiker

Hi @dot101 

Your DSS has UIF enabled. In this setup, any user that is not a DSS system user cannot install R packages into the built-in code env. Moreover, we do not recommend installing R packages into the built-in R code env but rather create a new R managed code env and install required packages there: 

https://doc.dataiku.com/dss/latest/code-envs/operations-r.html

Later on, you can switch to this code env from Kernel -> Change kernel. 

Hope this helps. 

 

0 Kudos