我的终端无法运行我的 Rscript。继续获取““>quote”的输出
我正在尝试从终端运行 Rscript 以检查我是否为课程正确编写了代码。每当我使用以下命令运行我的 Rscript` 时:
Rscript --vanilla -e ‘source(“file.R”)’ -e ‘print()’
我得到的输出只是
quote>
我检查了我的代码和文件,我至少应该得到一些东西。当我在 RStudio 中运行时,我的代码会生成一些内容。 你知道我能做什么来解决这个问题吗?或者对我做错了什么有任何建议吗?
I am trying to run an Rscript from my terminal to check that I made my code properly for class. Whenever I run my
Rscript` using the command :
Rscript --vanilla -e ‘source(“file.R”)’ -e ‘print()’
I get the output of just
quote>
I checked my code and my file and I should at least get something. When I run in RStudio my code produces something.
Do you know what I can do to fix this? or any can suggestions on what I am doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论