Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi,
I would like to work on the iris database which is in R, but when I run the command :
library(dataiku)
data <- dkuReadDataset("iris", samplingMethod="head")
I get an error like this :
Error in dku__check_api_error(resp, "Failed to read dataset"): Failed to read dataset (HTTP code 404): dataset does not exist: TEST_DATAIKU.iris
Traceback:
1. dkuReadDataset("iris", samplingMethod = "head")
2. dku__check_api_error(resp, "Failed to read dataset")
3. stop(error)
Would you help me with this ?
Thanks
Hi,
The dkuReadDataset function is a dataiku function, to load a dataset with it, the dataset must be in the flow of your project.
But to load the iris dataset, you can do:
library(datasets)
data(iris)
As it is described here
Note that you can use the R notebook to work in R in DSS.
Matt