[R] R in Batch mode query

2009-02-01 Thread Philip Smith
Hi All: How does one run R in batch mode on Windows? Thank you! Phil Smith __ R-help@r-project.org 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 c

[R] R startup and shutdown question

2009-01-23 Thread Philip Smith
Hi R-Community: Here is what I want to do: Every time I start R I want R to: 1. remove(list=ls()), and 2. "source" another file automatically. Then, when I shutdown R, I want R to: 1. remove(list=ls()) How do I do this? I recall vaguely that S could do this, but I don't remember exa