[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