[R] R command execution from shell

Sebastien Bihorel Sebastien.Bihorel at cognigencorp.com
Tue Jan 4 21:21:00 CET 2011


Dear R-users,

Is there a way I can ask R to execute the "write("hello 
world",file="hello.txt")" command directly from the UNIX shell, instead 
of having to save this command to a .R file and execute this file with R 
CMD BATCH?

Thank you

Sebastien



More information about the R-help mailing list