Submit your innovative use case or inspiring success story to the 2023 Dataiku Frontrunner Awards! LET'S GO

could not find function "dkuReadDataset"

UserBird
Dataiker
could not find function "dkuReadDataset"
Hello eveyone,

I installed R following the instruction here : https://doc.dataiku.com/dss/latest/installation/r.html

Everything seem to be ok because the R kernel is loading.

But when I tried to merge two datasets it is not working

My code :

mydataset1 <- dkuReadDataset("mydataset1_prepared")
mydataset2 <- dkuReadDataset("mydataset2_prepared")
total <- rbind(mydataset1, mydataset2)

Result:

The error Error in eval(expr, envir, enclos): could not find function "dkuReadDataset" Traceback:


Have you any idea how to solve this ?

Thank you for your help
0 Kudos
1 Reply
Thomas
Dataiker Alumni

Hi - did you manage to successfully import the dataiku R package first ? 




library(dataiku)

mydataset1 <- dkuReadDataset("mydataset1_prepared")
mydataset2 <- dkuReadDataset("mydataset2_prepared")
total <- rbind(mydataset1, mydataset2)


Thanks, 



 

0 Kudos

Labels

?
Labels (2)
A banner prompting to get Dataiku