Re: [R] driver file

2009-06-24 Thread John Kane
Do you mean something like source? Type ?source for help --- On Tue, 6/23/09, Derek Lacoursiere wrote: > From: Derek Lacoursiere > Subject: [R] driver file > To: r-help@r-project.org > Received: Tuesday, June 23, 2009, 3:05 PM > > Hi, > > How can I, from a sing

Re: [R] driver file

2009-06-23 Thread jim holtman
Your driver file should probably look like: # setup the parameters ... source('file1.r') source('file.2.r') ...all the rest of your files On Tue, Jun 23, 2009 at 3:05 PM, Derek Lacoursiere wrote: > > Hi, > > How can I, from a single "driver" file, source other files in such a way > that I

[R] driver file

2009-06-23 Thread Derek Lacoursiere
Hi, How can I, from a single "driver" file, source other files in such a way that I can access their functions with parameters defined in my "driver" file? I wish to do this to avoid creating a single, self-contained but clunky piece of code. I have searched and found functions such as file(),