[R] Execute expression ( R -e) without close
Prof Brian Ripley
ripley at stats.ox.ac.uk
Fri May 18 17:57:38 CEST 2007
You cannot. '-e' is modelled on batch tools, and is really back-end
support for Rscript -e.
See ?Startup for other ways to achieve what you seem to be trying to do.
On Fri, 18 May 2007, marcelll wrote:
> I need to find a way how to execute an expression with the new command line
> parameter in R (R -e "AnExpression") without R get closed after the
> expression has been evaluated.
> For example if i want to start R with a plot or start R with a *.RData file.
> Any help or suggestions are appreciated !
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help