[R] Saving functions

Williams, Robin
Mon, 08 Sep 2008 14:46:17 -0000

Hi,
  Appologies for the simple nature of this question, I am unable to find
the answer in manuals (EG and introduciton to R).
  I have written a function in a text editor and saved it with an .R
extension. It is saved in my working directory. How can I run it, do I
need to use source? If so, how do I supply the arguments to the
function? Or does it need to be saved in a particular directory?
  Do I need a different file extension?
Many thanks for any help.


Robin Williams
Met Office summer intern - Health Forecasting
robin.williams@metoffice.gov.uk



	[[alternative HTML version deleted]]