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, [EMAIL PROTECTED] 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 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
