Hi!

I've made great progress in my R programming, but I am again stuck on a
beginner's problem.

I would like to start R with a command line that loads a file, and if
possible, executes a function.

Can anyone  give me an example of how to do this?

For example, in lisp, I would say:

$ lisp -load toto.lisp -eval '(do-something $PORT)'

to load the file "toto.lisp", then evaluate the expression with the shell
envt variable bound properly.

I'd like to do this in R, but can't figure it out!

Thanks,
GF.

	[[alternative HTML version deleted]]

