0 votes
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
by

1 Answer

+1 vote
Best answer
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,
by
selected by
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.
1,158 questions
1,193 answers
1,343 comments
11,553 users

©Dataiku 2012-2018 - Privacy Policy