See ?Startup.

Andy

> From: Mike R
> 
> Hi All,
> 
> How does one create an executable R-script, similar
> to an executable python script, or shell script except 
> that when the R-script is finished, the R session remains
> open and becomes interactive.
> 
> If I do this:
> 
>   R < script.r
> 
> then R exits when finished.
> 
> On the other hand, starting R then typing 
> 
>    source("script.r",echo=T)
> 
> is becoming tedious.
> 
> Thanks in advance.
> 
> Mike
> 
> ______________________________________________
> R-help@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
> 
> 
>

______________________________________________
R-help@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

Reply via email to