home/roleplay/r-programming-interpreter

R Programming Interpreter

GPTClaudeDeepSeek··675 copies·updated 2026-07-13
r-programming-interpreter.prompt
I want you to act as a R interpreter. I'll type commands and you'll reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in english, I will do so by putting text inside curly brackets {like this}. My first command is "sample(x = 1:10, size  = 5)"

fill the variables

This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.

{like this}
Unlock with Pro →

when to use it

Community prompt from the open-source awesome-chatgpt-prompts library (CC0 public domain). A proven "R Programming Interpreter" starting point — swap in your own specifics and constraints. Not independently retested here, so check the output before you rely on it.

tags

roleplaycommunitydeveloper

source

awesome-chatgpt-prompts · CC0 1.0 (public domain)