-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow running Rscript via rig
subcommand
#199
Comments
@klmr Thanks! Since you probably know this already, can you remind me what the benefits of |
The benefit/difference is that Rscript doesn’t echo the executed code, so it behaves like most other mainstream scripting language interpreters in non-interactive ( I don’t know why Cf.: $ R -e 'cat("hello\n")'
> cat("hello
+ ")
hello
$ Rscript -e 'cat("hello\n")'
hellp |
OK, makes sense. I guess you'd need to suppress the echo explicitly:
But we can have (probably)
|
Regarding the But that’s of course irrelevant for usage via |
Rig has a subcommand
rig run
to run a specific version ofR
with arguments.It would be great if there was a similar way of running
Rscript
, e.g.:The text was updated successfully, but these errors were encountered: