Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I want to run an R recipe on a Kubernetes container but I get an error that a library is missing.
This recipe is using the DSS built-in R code environment. What made me question if, to use containerized execution, I need to create an R code environment with the container I want to use and set it as the code environment for this recipe.
Am I right?
If you run the R recipe locally using the built-in environment, do you get the same error? If so, then you are likely trying to use or import a library that is not part of the base environment. If so, then you would indeed need to create an appropriate code environment and install the relevant packages. Then, as you are using containerized execution, you will also need to make sure that the code environment is usable for containerized execution by following the steps described in our documentation here:
That is the odd part. The R recipe was always run using the built-in R environment. And even now if I run it with the built-in code environments it runs without problems.
If I run it using the Kubernetes container I get the error:
To help you further investigate the matter, could you please open a support ticket directly and include a job diagnosis (corresponding to when it's failing when using K8s and working when running locally)? You can generate a job diagnosis by following the steps described here: