Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
How it works
Ask it something hard.
📎 ai-r-tutor.txtLOADED ✓
I have survey data in a CSV and I need group means and a boxplot. I have never written R.
CLAUDE · WITH THIS SKILLYou get: three questions about the columns, the grouping variable and whether the file is tidy -> a level call of complete beginner, so lesson one starts at the console, not at the tidyverse -> a short explanation of a vector as the thing every column really is -> a worked example on a small vector of temperatures, not your data -> your task, read the CSV and print the structure -> your answer, which uses read.csv and gets factors where you wanted text -> the question of what class that column is and what you expected, which is how you find it -> the concept named as type coercion on import -> next lesson: group_by and summarise, and the NA that will appear in your first mean.
Questions before you buy? A person answers, usually the same day: hello@kissmyskills.com
// the file itself
Read it before you buy it.
The first lines of the file your AI will read, exactly as delivered. Nothing rewritten for the page.
Use the name Once the file is loaded, talk to it by name: “Serge, check this page.” That is what the name is for. It also keeps several skills apart in one chat.
// the skill your AI runs on
You are a Socratic tutor for the R language, where everything is a vector and NA propagates until you decide what it means. You have been activated to get the learner loading, cleaning, plotting and modelling their own data alone.
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then tell it what you want to learn. You are a Socratic tutor for the R language. Your job is to make the learner able to load, clean, plot and model their own data alone. Assume RStudio is open and they run every line themselves. Be short, plain and exact. You teach statistics as far as running and reading a test correctly, and you say when a design question belongs to their supervisor. The rule you never break: you do not write the learner's analysis script. Concept, worked example on a different dataset, task, check. · Everything is a vector. Scalars do not exist, which is why operations are vectorised and why a length mismatch recycles silently instead of failing. · Types and coercion: numeric, integer, character, logical, factor. A single stray character value turns a whole column to character on import, and factors bite anyone who expects text. · NA is not zero and not missing data you can ignore. It propagates, so mean() on a vector with one NA returns NA. na.rm is a decision, not a reflex. · Subsetting separates beginners from users: square brackets on vectors, two indices on data frames, the dollar sign, the double bracket on lists. filter and select sit on top of this. · Data frames against tibbles: printing, partial matching, stringsAsFactors history. Read the structure with str or glimpse before doing anything. · The dplyr verbs cover most work: filter, select, mutate, arrange, group_by, summarise, joins. The pipe chains them, and summarise is where grouping surprises appear. · Tidy data means one row per observation and one column per variable. pivot_longer and pivot_wider exist because real data arrives wide. · ggplot2 is a grammar: data, aesthetics, geoms, scales, facets, themes. Layers join with a plus, not a pipe, which is the most common first error. · Functions and iteration: writing your own function, the difference between arguments and defaults, and replacing a growing loop with sapply or purrr map. · Statistics you will be asked for: t.test, chisq.test, aov, cor, and lm with summary. Reading coefficients, p values and residuals matters more than running them. · Reproducibility: scripts that run in a fresh session, projects, here, renv, and Quarto or RMarkdown for the write up. · Classic errors: = instead of <-, forgetting na.rm, growing a vector in a loop, piping into ggplot layers, single bracket where double was needed, a missing library() call.
92 lines · .txt · instant download
// what's inside
What's inside this skill
Vectors and recycling taught first, because everything in R is one
Missing values handled on purpose, not with a copied na.rm
ggplot2 learned as a grammar, so a new chart is not a new search
Scripts that run top to bottom on a fresh session, every time
Postgrads with a stats deadline, ecology and psychology students, and analysts moving from Excel or SPSS to RStudio.
// two ways to get it
Use it inside your AI, or download it once.
Library plan
This skill and 2,500+ others, inside your chat
$9/mocancel anytime, or $59 a year
All 2,500+ skills, prompt packs and agents, loaded the moment you ask
Nothing to download or paste: connect once in Claude, ChatGPT, Claude Code or Cursor
New skills every week and 10 catalog files a month to download
Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
// ask your assistant
Or let your AI set up this skill for you.
Go to kissmyskills.com/pages/connector and set up the "AI R Tutor" skill (handle: ai-r-tutor) for me
Paste it into Claude, ChatGPT, Claude Code, Cursor or Codex. Your AI walks you through connecting KissMySkills (about 3 minutes, 7-day free trial) and loads the skill. What your AI will read →
What you're actually buying
This AI R tutor is for the week your dissertation needs a t test by Friday and your script is a pile of copied snippets that nobody, including you, can explain. This file turns Claude, ChatGPT or Gemini into a tutor for the R language, so you write your own code in RStudio and say what each line does.
It asks what your data looks like and what you have to produce, sets your level, then teaches in the order R actually rewards: vectors and vectorisation first, then data frames and tibbles, subsetting, factors and missing values, the dplyr verbs, tidy data and pivoting, ggplot2 as a grammar rather than a list of chart types, then functions, models and reproducible reports. Each lesson is a short explanation, one worked example on a different dataset, then your turn in the console. When mean() returns NA it asks what the vector contains, not what argument to add.
The file behaves the same in Claude, ChatGPT and Gemini. One purchase, pay once, keep forever, running in under two minutes.
// how to install
Under 2 minutes
Four steps. Any AI chat.
01
Download the file
After checkout, the download link lands in your inbox. Save the .txt file anywhere on your device.
02
Open your AI chat
Any AI chat you already use: Claude, ChatGPT, Gemini, Grok, Copilot or another.
03
Paste the prompt
Open the .txt file, copy the prompt section and paste it into Claude or ChatGPT - or add it to a Project so it is always there.
04
Start working
Your AI is now configured as a specialist. Ask it anything inside its domain.
No technical knowledge required.
With Library there is nothing to download. Connect your AI once, then ask for any skill by name.
Paste it into a Claude Project, a custom GPT or a Gemini Gem, then describe your data and what you have to produce. It asks a few questions, sets your level and starts lesson one. You run everything yourself in RStudio and paste back the output or the error message. Each session ends with a short progress block you paste back next time.
Does it write my analysis script for me?+
No. It shows a pattern on a different dataset, then hands you the task and waits for your code. If you paste an assignment it turns it into lessons rather than answers. That matters more in R than in most languages, because a supervisor will ask you why you chose that test, and a script you did not write cannot be defended.
Base R or the tidyverse, and does it cover statistics?+
It teaches base R vectors and subsetting first, because tidyverse errors are unreadable without them, then moves to dplyr, tidyr and ggplot2 for daily work. On statistics it covers running and reading t.test, chisq.test, aov and lm, including assumptions and what the output means. It will not choose a test for your study design without telling you to confirm it with your supervisor.
Ready to give your AI a specialist?
This one and 2,500+ others, inside Claude, ChatGPT, Claude Code, Codex or Cursor. Cancel anytime.