All of the R commands that I want to issue are in a text file that concludes 
with the R command quit (save = “yes”), and is called R_commands.txt. I can 
start R, and then manually issue
source (“R_commands.txt”).
But I would prefer to issue, from the bash command line, a one line command, 
directing R to start, execute all of the R commands in R_commands.txt, and then 
quit. How do I do that?
Greg Coats
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to