Code Generation from Natural Language: Users should be able to describe their desired analysis or task in plain English (or similar natural language). The AI should then generate the corresponding R code.
Example: "Create a linear regression model to predict sales based on advertising spend and display the results" should generate the appropriate lm() code and summary output.
Code Explanation: Users should be able to select a block of R code and ask the AI to explain what it does in simple terms.