[R] Writing a R-Script

François Pinard pinard at iro.umontreal.ca
Thu Oct 18 14:07:07 CEST 2007


[erkan yanar]

>Ist there a possibility to write a R-Script using something like

>#!/usr/bin/R
>and then alle the requestet commands?

You could use:

   #!/usr/bin/env Rscript

(or if you happen to be sure of the location of the program):

   #!/usr/local/bin/Rscript

See ?Rscript for more information.

-- 
François Pinard   http://pinard.progiciels-bpi.ca



More information about the R-help mailing list