Installing "survival" in R on Dataiku 10
Hello,
I'm unable to install the latest version of the survival package in my R environment. The current installed version of R is 3.6 which is compatible with the newest survival package (as per CRAN - Package survivalAnalysis (r-project.org)).
The currently installed version of "survival" that Dataiku auto installed is 2.44, I'm looking to install the latest version 3.5-7.
The error I get when I try to force the install is that the version is not compatible with my version of R. Is there any way I can force the install?
Operating system used: Windows
Answers
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi @Yeaf99
,
DSS will try to use the latest version available from CRAN by default when you rebuild a code env.
So https://cran.r-project.org/web/packages/survival/index.html indeed this latest version shows it required R 3.5+
Can you elaborate a bit on the exact error you are seeing when trying to rebuild the code env?You may be seeing other errors around GCC compiler or OS dependencies. If you can share the code env build log or snippet of the error from ther it may provide more clues.
Thanks -
Yeaf99 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 ✭
Hi Alex, thank you for your reply.
DSS says it installing the latest version of survival successfully, but it isn't updating to the latest version in 'installed packages'.
These are the errors I'm getting I hope it provides some context.
Thank you.
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi @Yeaf99
,
Please try to force rebuild the code env using the flag "rebuild env" this should clear and install the latest version of the mentioned packages:If you still don't see the latest versions installed, please share the updateEnvAccordingToSpec.log or code env diagnostics.
Thanks,
-
Yeaf99 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 ✭
Hi Alex. I tried force rebuilding like you said but to no avail. Please see attached a word doc with the code environment error. Thank you for all your support.
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi @Yeaf99
,
I don't see the actual error here in the log shared.
Can you please open a support ticket with the code env diagnostics?
https://doc.dataiku.com/dss/latest/troubleshooting/obtaining-support.html#editor-support-for-all-other-dataiku-customers
Go to Administration - Code Envs - open the code env - Get diagnostics. -
Yeaf99 Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 4 ✭
Hello, please see the attached code env diagnostic.
Thank you.