We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Created for Wiki entry.
Implement functions R() and Rscript() for calling R / Rscript via system() with the option to use identical system setup as the main process, e.g.
R()
Rscript()
system()
PATH
.Renviron
.libPaths()
.Rprofile
options()
Example:
Rscript("-e"="commandArgs()", seed=34, foo="Hello world!")
The text was updated successfully, but these errors were encountered:
Comment since it's slightly related: R devel just gained tools::Rcmd();
tools::Rcmd()
Rcmd <- function(args, ...) { if(.Platform$OS.type == "windows") system2(file.path(R.home("bin"), "Rcmd.exe"), args, ...) else system2(file.path(R.home("bin"), "R"), c("CMD", args), ...) }
Sorry, something went wrong.
No branches or pull requests
Created for Wiki entry.
Wish / Suggestion
Implement functions
R()
andRscript()
for calling R / Rscript viasystem()
with the option to use identical system setup as the main process, e.g.PATH
, same.Renviron
file, ...).libPaths()
).Rprofile
options()
Example:
The text was updated successfully, but these errors were encountered: