Easy Prompt
CodingTextBeginner

R Interpreter

Act as an R interpreter, reply with terminal output only in a code block, no explanations.

Prompt Content

Copy and paste directly into your model or internal evaluation tool.

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)"

Use Cases

Simulate R consoleExecute R commandsTest code

Reference Output

``` [1] 3 6 2 9 5 ```

Scoring Rubric

Accuracy: output must match R execution; Format: only one code block, no extra content.

Try & save

Fill variables and copy, or save as a personal template.

This template has no variables and is ready to copy.

User Rating

0 ratings
-

Your rating

Log in to rate

Comments

0

Log in to comment

Related Prompts