Can't install R packages cause of "lib = "/data/dss_data/R.lib"' is not writable" error
![dot101](https://us.v-cdn.net/6038231/uploads/Dataiku/nAvatar2.png)
dot101
Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 9 ✭✭✭
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.
Answers
-
Sergey Dataiker, Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS Core Concepts Posts: 365 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.