Skip to content
Jenna Thorstenson edited this page Aug 11, 2025 · 10 revisions

Frequently Asked Questions

What is RTutor.ai?

RTutor.ai is an artificial intelligence (AI)-based app that enables users to interact with their data via natural language. Users ask questions about or request analyses in English. The app generates and runs R code to answer the question with plots and numeric results. Users may also request interpretation of results and analyses.

How does RTutor.ai work?

The requests are structured and sent to OpenAI’s AI system, which returns R code. The R code is cleaned up and executed in a Shiny environment, showing results or error messages. Multiple requests are logged to produce an R Markdown file, which can be knitted into an HTML report for record-keeping and reproducibility.

Is my data uploaded to OpenAI?

By default, 5 randomly selected rows are sent to OpenAI to provide precise code results. You may opt out of this in the settings tab. All column names of your data are sent to OpenAI as a prompt to generate R code. Your data is not stored on our server after the session has ended.

Who is RTutor.ai for?

The primary goal is to help people with minimal R experience to learn R or be more productive. RTutor can speed up the coding process using R by providing draft code to test and refine. Be cautious of potential bugs or errors.

How do you make sure the results are correct?

Try to word your question differently or more specifically and repeat the same request several times. This allows users to double-check and ensure consistent results from different runs.

Can you use RTutor to do R coding homework?

No. That would defeat the purpose. You need to learn R coding properly to ensure the generated R code is correct.

Can private companies use RTutor?

Not without licensure. RTutor is available for demo purposes only. The RTutor website and source code are freely available for non-profit organizations and distributed under the CC NC 3.0 license. Contact us for more information about commercial licensing.

Can you run RTutor locally?

Yes. Download the R package and install it locally. You will also need to obtain an API key from OpenAI. See the 'Local Installation' wiki page for more information.

Why do I get different results with the same request?

OpenAI’s language model has a certain degree of randomness when providing results, controlled by a 'temperature' parameter. Although this is set low, the app may still produce varying results.

Can people without R coding experience use RTutor for statistical analysis?

Not entirely. The generated code may sometimes be incorrect. However, RTutor can help quickly perform data visualization and exploratory data analysis (EDA). Be mindful that this is experimental technology.

Can RTutor replace statisticians or data scientists?

No, but RTutor can make them more efficient by accelerating parts of their workflow.

How do I write my request effectively?

Think of RTutor as a summer intern—a college student with one semester of statistics and R experience. Your instructions need to be clear and precise. While the intern is fast and works hard, they can make mistakes. Thanks to AI, this intern is lightning-fast and nearly free.

Can I install R packages in the AI-generated code?

No. However, we are working to pre-install the top 5000 most frequently used R packages on the server. Chances are, your favorite package is already installed!

Can I upload big files to the site?

Not if they are larger than 10MB. Instead, upload a small portion of your data to generate the code, which you can run locally on your laptop. Alternatively, download the RTutor R package and use it on your computer.

Voice input does not work!

This could be due to your browser blocking the website from accessing the microphone. Make sure to access the site using https://RTutor.ai (with HTTPS). If you use HTTP, microphone access is automatically blocked in Chrome. Also, speak closer to the mic and ensure only one browser tab is using it.