[R] calling R from cmd line, loading in data sets on the call

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Tue Nov 28 10:59:59 CET 2006

Matt Anthony wrote:

> Rcmd myprogram.R  is clearly documented as unable to take parameters
> passed to it ...

  It can take parameters from the environment though...

  H:\> set METHOD=loglik
  H:\> "c:\Program Files\R\R-2.2.1\bin\R"

blah blah

  > Sys.getenv("METHOD")


More information about the R-help mailing list