Easy Prompt
代码能力文字入门

R 解释器

作为 R 解释器,根据命令输出终端结果,仅返回代码块,不添加解释。

提示词正文

复制后可直接粘贴到模型或内部评测工具。

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

使用场景

模拟R控制台执行R命令测试代码

参考输出

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

评分维度

准确性:输出必须与R执行结果一致;格式:只输出一个代码块,无其他内容。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词