Community Conundrum 25: Feature Visualization is now live! Read More

Job failed : environment variable DKURBIN not defined

Level 1
Job failed : environment variable DKURBIN not defined
Hello,

I am trying to learn Dataiku, and I can't get the simplest task of loading data to work. I wrote a sample code where I would take the initial data and replicate it 5000.

the code I am trying to make work is the following

library(dataiku)

# Recipe inputs
achat_chauss21_prepared <- dkuReadDataset("achat_chauss21_prepared")
achat_chauss21 <- dkuReadDataset("achat_chauss21")

er = rep(0,5000)
c = sort(sample(nrow(achat_chauss21),5000, replace = TRUE))
er = achat_chauss21[c]

# Recipe outputs
write.dataset(er,"er")



Thank you in advance
0 Kudos
2 Replies
Dataiker
Dataiker
Hi,

It looks like you do not have R on your machine. You need to install R and follow a few steps to install the DSS / R integration.

You'll find details here:

https://doc.dataiku.com/dss/latest/installation/r.html

Best regards,
Level 1
Author
Indeed, R was not installed on the server, I forgot it ran on the server, and not on my local computer. Thank you for your quick help.
0 Kudos
Labels (2)