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!
Hello,
I got in error with my r code and I wonder if it comes from my code or Dataiku.
[11:12:26] [INFO] [dku.utils] - [1] "********** R code failed **********"
[11:12:26] [INFO] [dku.utils] - [1] "Error evaluating R code: subscript out of bounds"
[11:12:26] [INFO] [dku.utils] - Warning messages:
[11:12:26] [INFO] [dku.utils] - 1: In readLines(content, maxNumLines) :
[11:12:26] [INFO] [dku.utils] - incomplete final line found on 'remote-run-env-def.json'
I know that the "susbscript out of bounds" refers to a try to access to an index/object that doesnt exist, but it's not the case for me here (I checked it)
Here is the job diagnosis
Thank you in advance,
Hi @Tina_liaddana ,
"subscript out of bounds" can indicated that you are trying to access an element of a vector, list, or data frame that does not existt. You will need to debug your code further to understand where this is coming from.
For example check
list_output$results and list_output$results[[1]]$data are not empty and that they contain the expected number of elements.
Hope that helps