Dear R-users and helpers

               How can we pass values or parameters between two R programs.

Say I have prg1 and prg2 but are R script commands saved as text file

I use source(prg1.txt)   to load and execute one batch of R-srcipts
Here I take in a lot of user inputs and save into variables or data frames....

Then some in between the prg1 I call for prg2 using source command again..

         Here I would like to access the variable list set by pervious program..

So is there some system variable function  ?


Regards
Kunal


