Hi, I am working on a shell script where i need to start a R function defined in a script. I know how to run the script; with R CMD BATCH script which would be equal to source("script") in R. But how do I run a function(param) of that script in the BATCH mode? Thanks in advance.