Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on January 9, 2024 8:10PM
Likes: 0
Replies: 5
Hi,
I am trying to use CausalImpact code in Dataiku and I am getting the below error.
"
"
Below are the package and command that I am using in my code:
install.packages("CausalImpact", dependencies = TRUE)
---
---
impact <- CausalImpact(Table, pre_period, post_period)
The command works in my local (Windos OS ) but its not working in Dataiku R code recipe. Can you please help me ?
Operating system used: Windos
Hi @Amar2024
,
When using Dataiku, the correct way to set this up is to install your R packages within a dedicated code environment.
Then, when you create your R notebook or R recipe, you will simply select this code environment, which will allow you to use any of the packages installed in the code environment.
If you run into any issues, please let us know!
Thanks,
Sarina
Thank you so much for replying.
I tried to create a new environment. Followed the same steps as you mentioned but I got this below error after clicking on "update" option on left. Can you please help?
Hi @SarinaS
Here is the simple code I am trying to run in dataiku with Casualimpact environment: CausalImpact (google.github.io)
but I am getting the above error shown in screenshot. Can you please try?
Hi @Amar2024
,
Thanks,
Sarina
Hi Sarina,
As its linux platform, I was suppose to install specific version for all the dependencies of 'CausalImpact'. It was resolved by my team mate who did this in backend. No more questions.
However, thank you for your inputs.