powered by
Ask OpenAI to explain what given R code does. The answer is written to console and returned as a string.
whatis(this, call_api = call_openai)
Invisible character string of explanation
Character string of code to be explained
Optional function to call another API
# You must provision an OpenAI API key before using this function. if (FALSE) { whatis("paste0(vector1, vector2)") whatis("length(x) %% 2 == 1 ? x[(length(x) + 1) / 2] : NA") }
Run the code above in your browser using DataLab