On Fri, 27 Feb 2009, Michael Olschimke wrote:
Hi,
is it possible to execute a script with R and go into interactive mode
with the same session?
Yes, the mechanism is 'read the script file specified by
R_PROFILE_USER (or its defaults) and then continue interactively'.
See ?Startup.
e.g.
Hi,
is it possible to execute a script with R and go into interactive mode
with the same session?
e.g.
R < myscript.R
>objects()
Creating a .Rprofile is not an option for me.
Thank you
Michael
__
R-help@r-project.org mailing list
https://stat.ethz.
2 matches
Mail list logo