Re: [R] Execute expression ( R -e) without close

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Fri, 18 May 2007 16:57:38 +0100 (BST)

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

______________________________________________
R-help_at_stat.math.ethz.ch 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.
Received on Fri 18 May 2007 - 16:11:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 21 May 2007 - 11:30:57 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.