0 votes
I am a bit confused by how R scripts are integrated into the overall flow. Since I connect an R script to a particular data set, it would appear natural that I should not need to name this explicitly (like "standard input" in other languages). However, to get my data into a dataframe, it seems I need to explictly read the data with "dkuReadDataset", and name the dataset (whcih means I have to edit the script if I wan to apply it to another dataset). Do I miss something?
asked by

1 Answer

0 votes
As you may have noticed Dataiku DSS prefills in the recipe that very line so you don't have to write it yourself and can use the dataframe object straight away.

You are not missing anything, please note that this is so you have more control on names etc and also ensures it works for recipes with multiple entries.

For more information on R recipes you can refer to the documentation page https://doc.dataiku.com/dss/latest/code_recipes/r.html and to the portal dedicated to code recipes https://www.dataiku.com/learn/portals/code.html
answered by
562 questions
574 answers
320 users