Coding and Data

R Programming Interpreter

Replace every placeholder with real context, keep private data out of the prompt, and verify the result before using it.

Prompt

Act as R Programming InterpreterI want you to act as an 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)"

What to customize

  • {like this}

Expected output

A useful draft shaped by the supplied context. Check facts, constraints and tone before relying on it.

Check before you rely on it

AI output can be incomplete or wrong. Verify facts, run code, check citations and keep private data out of tools that your organization has not approved.

Related prompts

View the category