Skip to content

Instantly share code, notes, and snippets.

@evilbuck
Created August 10, 2017 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evilbuck/01a13373600e3b7db3d49f96376e7b65 to your computer and use it in GitHub Desktop.
Save evilbuck/01a13373600e3b7db3d49f96376e7b65 to your computer and use it in GitHub Desktop.
R only output
# Run with `R --vanilla --slave --silent < main.R > myoutput.txt`
hello <- function (name) {
sprintf("Hello, %s", name);
}
print(hello("Insert name here"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment